Open kylebarron opened 6 years ago
I second this. I use the package to edit files in Pandoc's Markdown, and as far as I can see, most of the syntax is supported already. But sometimes there are a few things that don't work. One example: emphasis * *
within description-list items. I don't think I'm able to patch the package myself, but if there is something I can do to help, I'd be happy to.
As a temporary solution (minimally tested, so might break things), replace all occurrences of ^\\s*([`~]{3,})\\s*(\\{?)
to ^\\s*([`~]{3,})\\s*(\\{?=?)
in grammars/language-markdown.json
of your local installation of the package. (It will be overwritten when updating the package).
@stefanocoretta Would you mind testing your solution a little further and submitting it as a PR?
The Readme says that this package supports R Markdown, which to me means that it implicitly supports Pandoc's Markdown. Assuming that's true, 1) it might be nice to add Pandoc's Markdown to the list of supported grammars, and 2) there are some new syntax options that Pandoc 2 brought that aren't highlighted. For example the Raw Attribute extension.
It would be helpful to include XML, LaTeX, HTML within these blocks. For example,