-
Notifications
You must be signed in to change notification settings - Fork 199
Markdown extensions
Dmitry Shachnev edited this page Sep 16, 2015
·
7 revisions
ReText supports Python-Markdown extensions.
Extra extension set is enabled by default. Math extension is enabled and can be used with the WebKit renderer.
The easiest way to enable additional extensions is listing their names (with options, if needed) in the first line of a document. For example:
<!-- Required extensions: sane_lists, headerid(level=3) -->
- If you want some extensions applied to all documents in a directory, list them in
markdown-extensions.txt
file in that directory. - If you want some extensions applied to all documents, list them in
$HOME/.config/markdown-extensions.txt
file.
In markdown-extensions.txt
, extensions should be specfied one on its own line, for example:
sane_lists
headerid(level=3)
For third-party extensions, specify their full name that can be imported from Python, for example mypackage.mymodule
.
All known third-party extensions are listed in Python-Markdown wiki.
Pages in this wiki:
- Home
- Installing ReText
- FAQ
- Markdown syntax extensions
- Math formulas
- Export extensions
- Table editing mode
- FakeVim mode
Documentation in git repository: