Background I’ve written about bringing user-defined KaTeX macros into Hugo a few years ago. Looking back, I realized that I only knew how to copy code at that time.
Goal To replace the current code for my math editor with Showdown-KaTeX. To bring mhchem into my LaTeX + Markdown sandbox. Motivation To get the benefits of the three free (as in “freedom”) technologies.
Markdown syntax is (much) simple(r than its LaTeX equivalent, especially for tables, ordered/unordered lists, etc).