Open nuest opened 7 years ago
From what I understand from the docs, a plugin could work to add support for admonitions, right?
That sounds correct. The only plugin that I've created so far is remarkable-mentions which looks for an inline
token that has mentions in it and modifies them to a link. So it's basically just the parser piece.
From the looks of the syntax, you might be able to create the parser/render similar to indented code blocks or list items (I think the list items follow the same rules where they can have inner markdown elements and the indentation determines when they end)
Really old question I know. I'm leaving it here just if someone comes here from search results: I've released a remarkable-admonitions
plugin to add admonitions support (with :::
syntax similar to fenced code blocks)
just so the issue gets picked up easier through search:
admonitions are also called "fenced divs"
I use a lot of admonitions (https://pythonhosted.org/Markdown/extensions/admonition.html) in my documentation, though, which come out quite literally with "!!! ..." when using https://github.com/alanshaw/markdown-pdf
From what I understand from the docs, a plugin could work to add support for admonitions, right?
!!!
tokens, probably as a blockIs this feasible?