Update README.md
This commit is contained in:
parent
b9078dcf5b
commit
50a033b7e3
53
README.md
53
README.md
@ -1,3 +1,50 @@
|
|||||||
# processwire-TextformatterLatexMathML
|
# processwire-TextformatterLatexMathML
|
||||||
|
|
||||||
A Letext to MathML converter for ProcessWire
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user