News for hackers. Stuff that matters.
Re:TeXMe Self-rendering Markdown and LaTeX documents by bachmeier on Sunday September 20, 2020 @06:15AM (#24533068)
I really liked this because it's easy to save that line as a snippet in your text editor. It's a process of creating a new html file, inserting the snippet, and typing away.

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.

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...