Skip to content

Commit 5ccae1d

Browse files
Add superscript plugin to documentation
Also, remove superscript (and subscript) from list of plugins to port.
1 parent 7f809b6 commit 5ccae1d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ html_string = md.render("some *Markdown*")
119119
.. autofunction:: mdit_py_plugins.subscript.sub_plugin
120120
```
121121

122+
## Superscript
123+
124+
```{eval-rst}
125+
.. autofunction:: mdit_py_plugins.superscript.superscript_plugin
126+
```
127+
122128
## MyST plugins
123129

124130
`myst_blocks` and `myst_role` plugins are also available, for utilisation by the [MyST renderer](https://myst-parser.readthedocs.io/en/latest/using/syntax.html)
@@ -134,8 +140,6 @@ Use the `mdit_py_plugins` as a guide to write your own, following the [markdown-
134140

135141
There are many other plugins which could easily be ported from the JS versions (and hopefully will):
136142

137-
- [subscript](https://github.com/markdown-it/markdown-it-sub)
138-
- [superscript](https://github.com/markdown-it/markdown-it-sup)
139143
- [abbreviation](https://github.com/markdown-it/markdown-it-abbr)
140144
- [emoji](https://github.com/markdown-it/markdown-it-emoji)
141145
- [insert](https://github.com/markdown-it/markdown-it-ins)

0 commit comments

Comments
 (0)