Hello, I tried to add formatted math to the documentation.
According to Sphinx documentation inline math or indented math can be put into reStructuredText using the directive math. However, using this and running nim doc on the code tells me that math is an invalid directive.
Is there an "official" way to put formatted math into documentation or is it not possible at all?
htmlgen supports MathML thats basically Latex on HTML vanilla, is an ISO standard, looks nice on Firefox.
https://nim-lang.org/docs/htmlgen.html#mathml
Also you can generate SVG using the XML modules, works too.
Theres packages or easy SVG generation on Nimble.