Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/markdown_it/presets/default.py: 100%
2 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:07 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:07 +0000
1"""markdown-it default options."""
4def make():
5 return {
6 "options": {
7 "maxNesting": 100, # Internal protection, recursion limit
8 "html": False, # Enable HTML tags in source
9 # this is just a shorthand for .disable(["html_inline", "html_block"])
10 # used by the linkify rule:
11 "linkify": False, # autoconvert URL-like texts to links
12 # used by the replacements and smartquotes rules:
13 # Enable some language-neutral replacements + quotes beautification
14 "typographer": False,
15 # used by the smartquotes rule:
16 # Double + single quotes replacement pairs, when typographer enabled,
17 # and smartquotes on. Could be either a String or an Array.
18 # For example, you can use '«»„“' for Russian, '„“‚‘' for German,
19 # and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
20 "quotes": "\u201c\u201d\u2018\u2019", # /* “”‘’ */
21 # Renderer specific; these options are used directly in the HTML renderer
22 "xhtmlOut": False, # Use '/' to close single tags (<br />)
23 "breaks": False, # Convert '\n' in paragraphs into <br>
24 "langPrefix": "language-", # CSS language prefix for fenced blocks
25 # Highlighter function. Should return escaped HTML,
26 # or '' if the source string is not changed and should be escaped externally.
27 # If result starts with <pre... internal wrapper is skipped.
28 #
29 # function (/*str, lang, attrs*/) { return ''; }
30 #
31 "highlight": None,
32 },
33 "components": {"core": {}, "block": {}, "inline": {}},
34 }