install
pip install markdown
useage
:joy: https://www.webfx.com/tools/emoji-cheat-sheet/
:star:
:sparkles:
:star2:
:earth_asia:
:cn:
:one:
:u7981:
:x:
1 | shell: |
1 | python: |
supported-extensions:
https://python-markdown.github.io/extensions/#officially-supported-extensions
- Extra extra markdown.extensions.extra
- Abbreviations abbr markdown.extensions.abbr
- Attribute Lists attr_list markdown.extensions.attr_list
- Definition Lists def_list markdown.extensions.def_list
- Fenced Code Blocks fenced_code markdown.extensions.fenced_code
- Footnotes footnotes markdown.extensions.footnotes
- Tables tables markdown.extensions.tables
- Admonition admonition markdown.extensions.admonition
- CodeHilite codehilite markdown.extensions.codehilite
- Legacy Attributes legacy_attr markdown.extensions.legacy_attr
- Legacy Emphasis legacy_em markdown.extensions.legacy_em
- Meta-Data meta markdown.extensions.meta
- New Line to Break nl2br markdown.extensions.nl2br
- Sane Lists sane_lists markdown.extensions.sane_lists
- SmartyPants smarty markdown.extensions.smarty
- Table of Contents toc markdown.extensions.toc
- WikiLinks wikilinks markdown.extensions.wikilinks
doc
https://python-markdown.github.io/cli/
https://python-markdown.github.io/extensions/
https://github.com/Python-Markdown/markdown/wiki/Third-Party-Extensions
参考文档:
https://www.jianshu.com/p/0eff6cba1b7f