iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

[Feature Request] Support for admonitions #618

Open MarcoBuess opened 1 year ago

MarcoBuess commented 1 year ago

References

MarcoBuess commented 1 year ago

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. 😞