Re:TeXMe Self-rendering Markdown and LaTeX documents
by susam on Saturday September 26, 2020 @08:19AM
(#24598251)
Hi Lance (@bachmeier),
Thank you for reporting this issue and especially for posting your investigation details on this issue at https://github.com/susam/texme/issues/9.
I have now added support for a special purpose environment named "md" to TeXMe. This environment protects LaTeX delimiters ($, $$, etc.) within Markdown code blocks and code spans. More details about this feature is available at the following two URLs:
- https://github.com/susam/texme/issues/9#issuecomment-6994876...
- https://github.com/susam/texme/blob/6213f86/README.md#markdo...
Unfortunately, my usage came to a quick end when I discovered dollar signs in code are treated as math. It would have to switch from the Commonmark library to something like markdown-it that has a full set of features.