KaTeX table rendered as literal string
sorokod opened this issue · 2 comments
sorokod commented
Was bounced here from Hugo
With the latest version of the theme.
The following KaTeX snippet renders correctly on https://katex.org/
\begin{array}{c:c}
a & b \
c & d \
\end{array}
but the generated content from the same bracketed by $$
s
is rendered as the literal:
$$ \begin{array}{c:c} a & b \ c & d \ \end{array} $$
jmooring commented
Duplicate of #239.
Workaround: KaTeX/KaTeX#1831 (comment)
$$
\begin{array}{c:c}
a & b \\\\
c & d \\\\
\end{array}
$$
sorokod commented
Thanks for the quick response - this works.