Open NiedziolkaMichal opened 1 year ago
Apart from the fact that a few elements listed here are deprecated / deferred to MathML 4 or have no visual effect, the crucial question is: In what form should these live examples be to make them useful?
Mathml markups are not like HTML ones in that one can make edits to the content enclosed by tags in HTML to see what differences they make, whereas even tiny edits to Mathml content can lead to semantically incorrect markups, e.g.
<mi>a</mi><mo>+</mo><mi>b</mi>
is correct, but
<mi>a</mi><mo>+</mo><mi>bc</mi>
is not. This is understandable as MathML contents are almost never manually authored.
Therefore, it seems better to provide some basic authoring tools to indirectly interact with these examples.
May what date?
It is now possible to add MathML interactive examples. Anyone interested is welcome to contribute. Ideally, we would have examples for all of those elements:
MathML element examples should be placed in
live-examples/mathml-examples/elements
. Each example should be included inmeta.json
, where it should have the following structure:The value of
EXAMPLE_HEIGHT
might betabbed-shorter
,tabbed-standard
, ortabbed-taller
. The smallest possible height should be chosen, in which the vertical scrollbar is not shown.@fred-wang