title: Add HTML inside LaTeX expressions
body: <p>I have some Mathematical expressions to which I would like to add some classes within its subelements. For example,</p>
  <pre><code>\sqrt[3]{x}
  </code></pre>
  <p>would be similar to</p>
  <pre><code>\sqrt[&lt;span class=&quot;xyz&quot;&gt;3&lt;/span&gt;]{x}
  </code></pre>
  <p>However, this would make the LaTeX invalid. Is there any way to embed HTML inside LaTeX expressions like this?</p>
  <p>I am using KaTeX <a href="https://katex.org/docs/supported.html" rel="nofollow noreferrer">https://katex.org/docs/supported.html</a> if that matters.</p>
  <p>Thanks.</p>