We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed48ece commit 06d66b8Copy full SHA for 06d66b8
README.md
@@ -43,8 +43,8 @@ with and without plugins and features:
43
44
```python
45
from markdown_it import MarkdownIt
46
-from markdown_it.extensions.front_matter import front_matter_plugin
47
-from markdown_it.extensions.footnote import footnote_plugin
+from mdit_py_plugins.front_matter import front_matter_plugin
+from mdit_py_plugins.footnote import footnote_plugin
48
49
md = (
50
MarkdownIt()
@@ -68,6 +68,10 @@ A footnote [^1]
68
""")
69
tokens = md.parse(text)
70
html_text = md.render(text)
71
+
72
+## To export the html to a file, uncomment the lines below:
73
+# from pathlib import Path
74
+# Path("output.html").write_text(html_text)
75
```
76
77
### Command-line Usage
0 commit comments