mdmath
mdmath copied to clipboard
tex Preamble
Summary
Would it be possible to add parsing of tex preambles? i.e. Preambles stored in latex as .tex or .sty files? Importing a single file that I use with latex projects as well (as long as the syntax is consistent with KaTeX) would be very helpful. I presume mdmath parses the macros in settings to this format for KaTeX so would it be possible to pass these directly in a file?
Expected behavior
Be able to import sty/tex files with macros defined
Actual behavior
Need to redefine and duplicate macros with extra slashes and keep macros up to date in multiple places
Code example
\newcommand{\hf}[0]{\frac{1}{2}}