add escaping of asterisks and option to disable it

closes #62
This commit is contained in:
AlexVonB
2022-04-13 20:04:12 +02:00
parent 423b7e948c
commit b589863715
3 changed files with 20 additions and 9 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_asterisks
If set to ``False``, do not escape ``*`` to ``\*`` in text.
Defaults to ``True``.
escape_underscores
If set to ``False``, do not escape ``_`` to ``\_`` in text.
Defaults to ``True``.