CommonMark/Markdown Java parser with source level AST. CommonMark 0.28, emulation of: pegdown, kramdown, markdown.pl, MultiMarkdown. With HTML to MD, MD to PDF, MD to DOCX conversion modules.
It seems that flexmark processes text inside KaTeX code, and I have to pre-process the text to add backslashes and removes in order to render KaTeX correctly.
What am I doing wrong?
It seems that flexmark processes text inside KaTeX code, and I have to pre-process the text to add backslashes and removes
in order to render KaTeX correctly. What am I doing wrong?
The code I'm using is as simple as
and
Please provide as much information about where the bug is located or what you were using:
Parser
HtmlRenderer
Formatter
FlexmarkHtmlParser
DocxRenderer
PdfConverterExtension
To reproduce the problem:
output:
output expected: