markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

[Feature Request] Support for admonitions

Open MarcoBuess opened this issue 1 year ago • 1 comments

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

MarcoBuess avatar Nov 06 '23 20:11 MarcoBuess

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

MarcoBuess avatar Nov 06 '23 22:11 MarcoBuess