diff --git a/docs/supported.md b/docs/supported.md index 1d5b5a4d..e8e144c1 100644 --- a/docs/supported.md +++ b/docs/supported.md @@ -113,10 +113,10 @@ or for just some URLs via the `trust` [option](options.md). | $\href{https://katex.org/}{\KaTeX}$ | `\href{https://katex.org/}{\KaTeX}` | | $\url{https://katex.org/}$ | `\url{https://katex.org/}` | | $\includegraphics[height=0.8em, totalheight=0.9em, width=0.9em, alt=KA logo]{https://katex.org/img/khan-academy.png}$ | `\includegraphics[height=0.8em, totalheight=0.9em, width=0.9em, alt=KA logo]{https://katex.org/img/khan-academy.png}` | -| $\htmlId{bar}{x}$ | `\htmlId{bar}{x}` | -| $\htmlClass{foo}{x}$ | `\htmlClass{foo}{x}` | -| $\htmlStyle{color: red;}{x}$ | `\htmlStyle{color: red;}{x}` | -| $\htmlData{foo=a, bar=b}{x}$ | `\htmlData{foo=a, bar=b}{x}` | +| $\htmlId{bar}{x}$ …<span id="bar" class="enclosing">…x…</span>… | `\htmlId{bar}{x}` | +| $\htmlClass{foo}{x}$ …<span class="enclosing foo">…x…</span>… | `\htmlClass{foo}{x}` | +| $\htmlStyle{color: red;}{x}$ …<span style="color: red;" class="enclosing">…x…</span>… | `\htmlStyle{color: red;}{x}` | +| $\htmlData{foo=a, bar=b}{x}$ …<span data-foo="a" data-bar="b" class="enclosing">…x…</span>… | `\htmlData{foo=a, bar=b}{x}` | `\includegraphics` supports `height`, `width`, `totalheight`, and `alt` in its first argument. `height` is required.