Update README.md

This commit is contained in:
7u83 2023-11-25 16:26:31 +01:00
parent b9078dcf5b
commit 50a033b7e3
1 changed files with 50 additions and 3 deletions

View File

@ -1,3 +1,50 @@
# processwire-TextformatterLatexMathML
A Letext to MathML converter for ProcessWire
# processwire-TextformatterLatexMathML
A Latext to MathML converter for ProcessWire
Searches for Latext formulas enclosed in $-signs
like this “\$\sqrt{a^{2}+b^{2}}\=c$” and substitites it by
MathML like this:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mrow>
<msqrt>
<mrow>
<msup>
<mrow>
<mi>a</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</msup>
<mo>+</mo>
<msup>
<mrow>
<mi>b</mi>
</mrow>
<mrow>
<mn>2</mn>
</mrow>
</msup>
</mrow>
</msqrt>
<mo>=</mo><mi>c</mi>
</mrow>
</mrow>
</math>
which finally will be rendered by your browser as nice
looking math formula.
$\sqrt{a^{2}+b^{2}}=c$
# INSTALL
Requires on your server the programm
latexmlmath to be installed.