mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-11 23:36:05 +00:00
Add a MathML example tiddler
Doesn't work for me - latest Firefox and Safari display MathML fine elsewhere, but not this.
This commit is contained in:
42
editions/clientserver/tiddlers/MathML.tid
Normal file
42
editions/clientserver/tiddlers/MathML.tid
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
created: 201309012131
|
||||||
|
creator: JeremyRuston
|
||||||
|
modified: 201309012131
|
||||||
|
modifier: JeremyRuston
|
||||||
|
tags: demo
|
||||||
|
title: MathML
|
||||||
|
|
||||||
|
If your browser supports it, MathML elements can be used in TiddlyWiki5 WikiText just like HTML.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
<math>
|
||||||
|
<matrix>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 0 </cn> <cn> 1 </cn> <cn> 0 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 0 </cn> <cn> 0 </cn> <cn> 1 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 1 </cn> <cn> 0 </cn> <cn> 0 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
</matrix>
|
||||||
|
</math>
|
||||||
|
```
|
||||||
|
|
||||||
|
Renders as:
|
||||||
|
|
||||||
|
<math>
|
||||||
|
<matrix>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 0 </cn> <cn> 1 </cn> <cn> 0 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 0 </cn> <cn> 0 </cn> <cn> 1 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
<matrixrow>
|
||||||
|
<cn> 1 </cn> <cn> 0 </cn> <cn> 0 </cn>
|
||||||
|
</matrixrow>
|
||||||
|
</matrix>
|
||||||
|
</math>
|
Reference in New Issue
Block a user