Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KaTeX table rendered as literal string #449

Open
sorokod opened this issue Oct 3, 2022 · 2 comments
Open

KaTeX table rendered as literal string #449

sorokod opened this issue Oct 3, 2022 · 2 comments

Comments

@sorokod
Copy link

sorokod commented Oct 3, 2022

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
Copy link

jmooring commented Oct 3, 2022

Duplicate of #239.

Workaround: KaTeX/KaTeX#1831 (comment)

$$
\begin{array}{c:c}
a & b \\\\
c & d \\\\
\end{array}
$$

@sorokod
Copy link
Author

sorokod commented Oct 3, 2022

Thanks for the quick response - this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants