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
Release history Release notifications | RSS feed
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
Close
Hashes for dj_search_highlight-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21b75d4072591faed6b0bbb25ce41e16abbaebe51f54a8105ad50e49820559b |
|
MD5 | 8a7dbcbeb2a067b6bb18f2d8c768edbe |
|
BLAKE2b-256 | 3b7fff0c3046e8353fe916df49aff27eed29cb08b47e2e34b2835891a776d766 |