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

Support for directive admonition syntax

Open codingluke opened this issue 1 year ago • 1 comments
trafficstars

Hi @MeanderingProgrammer

It was a very nice surprise to see, that your fantastic plugin is now supporting GHM callouts! Writing in VIM gets better every day :)

I am wondering if it would be possible to also allow the directive syntax used by all major static site generators?

:::note

This is a very important note

:::

Best and THX for your freetime!

codingluke avatar May 23 '24 05:05 codingluke

Thank you for the kind words 🙂

I think this might be getting a little out of scope of a markdown rendering plugin. Since the GHM callouts hijack standard markdown syntax I thought it was reasonable, and it ended up working pretty well.

Still I will at least attempt this, but if it feels too unrelated to the rest of the plugin I won't add it.

Since I'm not familiar with this syntax can you provide a reference for me? Also is there a tree sitter parser available?

MeanderingProgrammer avatar May 23 '24 17:05 MeanderingProgrammer

Closing for now, feel free to re-open with some details.

MeanderingProgrammer avatar May 29 '24 13:05 MeanderingProgrammer