Let user select Typogrify filters to omit (#3436).

This commit is contained in:
David Lesieur 2024-12-27 18:07:21 -05:00
commit da798d1a94
4 changed files with 107 additions and 4 deletions

View file

@ -288,7 +288,14 @@ Basic settings
A list of tags for Typogrify to ignore. By default Typogrify will ignore
``pre`` and ``code`` tags. This requires that Typogrify version 2.0.4 or
later is installed
later is installed.
.. data:: TYPOGRIFY_OMIT_FILTERS = []
A list of Typogrify filters to skip. Allowed values are: ``'amp'``,
``'smartypants'``, ``'caps'``, ``'initial_quotes'``, ``'widont'``. By
default, no filter is omitted (in other words, all filters get applied). This
setting requires that Typogrify version 2.0.8 or later is installed.
.. data:: TYPOGRIFY_DASHES = 'default'