add option to not escape underscores

closes #59
This commit is contained in:
AlexVonB
2022-01-18 08:51:44 +01:00
parent c8f7cf63e3
commit bd6b581122
3 changed files with 12 additions and 4 deletions

View File

@@ -102,6 +102,10 @@ code_language
should be annotated with `````python`` or similar.
Defaults to ``''`` (empty string) and can be any string.
escape_underscores
If set to ``False``, do not escape ``_`` to ``\_`` in text.
Defaults to ``True``.
Options may be specified as kwargs to the ``markdownify`` function, or as a
nested ``Options`` class in ``MarkdownConverter`` subclasses.