-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Pandoc's Raw Attribute #225
Comments
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 |
As a temporary solution (minimally tested, so might break things), replace all occurrences of |
@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,
should be highlighted as LaTeX. I wouldn't expect this to interfere with any current functionality of the package. I can submit a PR if you're interested.
The text was updated successfully, but these errors were encountered: