html
[
{
"@el": "bitmark-node",
"@attr": {
"data-type": "$name"
},
"@children": "$"
},
{
"@el": "math",
"@attr": {
"display": "block"
},
"@transform": "mathml-latex",
"@block": true
},
{
"@el": "math",
"@transform": "mathml-latex"
}
]
json
{
"type": "latex",
"attrs": {
"formula": "$text"
}
}
xml-niso-iec
[
{
"@el": "mml:math",
"@transform": "mathml-latex"
},
{
"@el": "mml:math",
"@attr": {
"display": "block"
},
"@transform": "mathml-latex",
"@block": true
},
{
"@el": "tex-math",
"@text": "$formula"
}
]