lzanini / mdbook-katex

A preprocessor for mdBook, rendering LaTex equations to HTML at build time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

option for MathML output

expikr opened this issue · comments

commented

According to https://katex.org/docs/options.html KaTeX supports MathML outputs enabled by a flag.

Would be nice if a flag could be added that allows the display output to be in MathML, as it is now supported in Chrome since the beginning of this year: https://katex.org/docs/options.html

This may not be obvious, but it is one of the options we have under KaTeX options following what KaTeX offers.

You should be able to do this:

[preprocessor.katex]
after = ["links"]
output = "mathml"
commented

Nice, it works. Would be a good idea to update documentation to point it out.