mjbvz / vscode-github-markdown-preview-style

VS Code extension that changes the built-in markdown preview to match Github's styling
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
MIT License
301 stars 57 forks source link

Admonitions/alerts are not rendered #124

Closed rmnldwg closed 8 months ago

rmnldwg commented 8 months ago

Hi,

first, thanks for the nice extension! It helps me a lot to make sure my READMEs look nice before I commit and push anything to GitHub.

However, GitHub has recently added support for some admonitions via blockquotes. So, for example, the code below

> [!NOTE]
> This is a note

will on GitHub be rendered nicely with a coloured icon and heading:

[!NOTE] This is a note

While the extension does not recognize this syntax and just treats it as normal text in a blockquote:

image

It would be great to also add this feature to the extension at some point. Thanks!

rmnldwg commented 8 months ago

Sorry, just noticed that this - like some other issues previously - is a duplicate of https://github.com/mjbvz/vscode-github-markdown-preview/issues/23