Debian Codegraph @

docs/src/markdown/usage_notes.md

raw
1 ---
2 icon: lucide/info
3 ---
4 # Usage Notes
5
6 ## Incompatible Extensions
7
8 PyMdown Extensions includes three extensions that are meant to **replace** their counterpart in the default Python
9 Markdown extensions. You don't have to use all of PyMdown Extensions' extensions, but if you choose to use one of the
10 packages below, you should use it instead of the Python Markdown one; **they cannot be loaded at the same time**.
11
12 Also, you shouldn't include an extension more than once. If you try to include more than one extension at the same time,
13 you may get unexpected results. Also, be aware of that some of the extensions are convenience extensions that include
14 multiple extensions; be aware of what they include so you do not accidentally re-include them individually.
15
16 - `pymdownx.superfences` replaces `markdown.extensions.fenced_code`.
17
18 - `pymdownx.betterem` replaces `markdown.extensions.smartstrong`.
19
20 - `pymdownx.extra` replaces `markdown.extensions.extra`, but remember, `pymdown.extra` is a convenience extension
21 which is just a wrapper and includes a number of extensions. Remember to avoid including this and then including
22 conflicting extensions or doubles of extensions. Here is the full list of included extensions:
23
24 ```
25 pymdownx.betterem
26 pymdownx.superfences
27 markdown.extensions.footnotes
28 markdown.extensions.attr_list
29 markdown.extensions.def_list
30 markdown.extensions.tables
31 markdown.extensions.abbr
32 markdown.extensions.md_in_html
33 ```