markdown-preview.nvim
markdown-preview.nvim copied to clipboard
[Feature Request] Support for admonitions
References
- https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- https://github.com/qjebbs/vscode-markdown-extended#admonition
- https://python-markdown.github.io/extensions/admonition/
- https://github.com/docarys/markdown-it-admonition
Having no clue about all this, I thought it might be as simple as adding markdown-it-admonition
to package.json
and the following code to index.jsx
:
import admon from 'markdown-it-admonition'
...
this.md.use(admon)
...
I then tried running npx --yes yarn install
in the hopes that would be it, but it doesn't seem so. I couldn't get it to work. 😞