invalid math - bhsd-harry/wikiparser-node GitHub Wiki

❌ By default, this rule reports syntax errors in <math>, <chem> and <ce> tags using texvcjs. This rule is unavailable in the browser version of the package.

Examples

Examples of incorrect code for { "invalid-math": 2 }:

<math>a × b</math>
<math>#</math>
<math>\vec{a</math>
<math>\frac{a}</math>
<math>\begin{matrix} a</math>
<math>\begin{x}\end{x}</math>
<math>\x</math>
<math>\ce{H}</math>

Examples of correct code for { "invalid-math": 2 }:

<math>\vec a</math>
<math chem>\ce{H}</math>
<chem>\mathit{A} ->[\ce{H}] \mathit{B}</chem>
⚠️ **GitHub.com Fallback** ⚠️