Skip to main content

Highlight string in the text.

Project description

Install

pip install dj-search-highlight

Usage

It is setup is very easy:

Settings

INSTALLED_APPS = (
        # ...
        'highlighter',
)

Template

{% load highlight_yellow %}
{{ some_text|highlight_yellow:keyword }}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dj_search_highlight-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file dj_search_highlight-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dj_search_highlight-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b21b75d4072591faed6b0bbb25ce41e16abbaebe51f54a8105ad50e49820559b
MD5 8a7dbcbeb2a067b6bb18f2d8c768edbe
BLAKE2b-256 3b7fff0c3046e8353fe916df49aff27eed29cb08b47e2e34b2835891a776d766

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page