runarberg / mathup

Easy MathML authoring tool with a quick to write syntax
https://runarberg.github.io/mathup
MIT License
66 stars 10 forks source link

<menclose> is non-standard #72

Closed runarberg closed 12 months ago

runarberg commented 1 year ago

The cancel prefix command uses <menclose notation="updiagonalstrike"> which is not a part of MathML Core (yet; see https://github.com/w3c/mathml/issues/216)

runarberg commented 1 year ago

In the meantime we can probably use an <mrow> with a background of some linear-gradient:

<mrow style="background: linear-gradient(135deg, transparent calc(50% - 0.75px), black 1px, transparent calc(50% + 0.75px));">
  <!-- Content -->
</mrow>