Closed N0rbert closed 4 years ago
@N0rbert CommonMark and Github-Flavor markdown do not natively support inline Latex. The warnings above are expected because it is trying to parse the LaTeX content as markdown.
If you want to mix CommonMark with LaTex, consider using https://github.com/remarkjs/remark-math, or consider creating a parser plugins to support RMarkdown flavored Markdown https://unifiedjs.com/learn
Christian posted just about the same, but here was the response I was typing:
Hi there! 👋
LaTeX is not part of Markdown.
New syntaxes can be supported though, bu adding a plugin to unified/remark. See unifiedjs.com for more information about us. Or search for latex + remark to see if something like that exists.
The more common math syntax in Markdown though, to my knowledge, is the one supported by remark-math
.
Closing as there isn’t something to do in this project.
Subject of the issue
Linter tried to parse
[...]
inside mathematical equations.Your environment
Packages, Env:
Steps to reproduce
Have the following RMarkdown document:
The rendering is OK while using ReText editor.
Run
remark
on it with the following.remarkrc
:Remark do not show any warnings about the file.
Actual behaviour
Remark shows the warnings: