domdomegg / markdown-inline-preview-vscode

📝🌈 A VS Code extension for improving the display of markdown directly in the editor
https://marketplace.visualstudio.com/items?itemName=domdomegg.markdown-inline-preview-vscode
MIT License
10 stars 2 forks source link

Add support for admonitions #12

Open silopolis opened 3 months ago

silopolis commented 3 months ago

Some notes/writings make more or less intensive use of admonitions. It would be wonderful to have these somehow previewed.

This is a capture from Joplin's Admonition support plugin for inspiration in which I'm only missing bold style for titles.

Admonition rendering in Joplin's editor

Of course, improved rendering hiding tags and adding relevant icons would be welcome :yum:

This ends this first round of requests and suggestions which would make long days writing and reading MD a walk in the park...

Thanks for sharing your work and, in advance, for consideration TY J

domdomegg commented 3 months ago

Sounds good! I think this is something this plugin could support and I'd accept a contribution for this.

I think it would be good also to support the GitHub syntax too, as well as the Joplin syntax

silopolis commented 3 months ago

That'd be fantastic! And there's another one from pymarkdown I believe, notably used by the MkDocs herd:

!!! note Note title

    Note content

Markdown is such a mess :/ , life's so much easier in reStructuredText/AsciiDoc land...

Anyway, this is surely an extension I'd love to contribute to! But my level0 TS/extension dev skills is a bit of a show stopper ATM :'( Nevertheless, this doesn't seem impossible...