Closed Libbum closed 6 years ago
Temporary solution is to use the autorenderer and mark up the math on the fly. There's a performance hit here, but should be fine for starters.
e623565 has this functionality working. I'm monitoring the native PR in pulldown-cmark, so will close this for now and investigate further when there's movement there.
Just a note you have to escape backslashes in aligned
, so at the end of each line you need \\\\
rather than \\
.
Also, it looks like the autorenderer isn't happy with sending $ ... $
as an inline option, so we'll need to use \( ... \)
for now. Note this is \\( ... \\)
in the markdown sections...
pulldown-cmark doesn't have a math mode at the moment, there's an open PR google/pulldown-cmark#100 that also has a possible stopgap. Regardless, this needs to be fixed.