parpalak / upmath.me

Markdown and LaTeX online editor - create text for web with equations and diagrams
https://upmath.me/
MIT License
329 stars 40 forks source link

Is there a way to display latex tables? #9

Closed BrightFeather closed 6 years ago

BrightFeather commented 6 years ago

A typical table goes like:

\begin{table}
\begin{tabular}
...
\end{tabular}
\end{table}
parpalak commented 6 years ago

You need only tabular environment:

\begin{tabular}{ l | c | r }
    \hline
    1 & 2 & 3 \\ \hline
    4 & 5 & 6 \\ \hline
    7 & 8 & 9 \\
    \hline
\end{tabular}

It's rendered this way:

BrightFeather commented 6 years ago

I see. thanks!

chaserene commented 3 years ago

@parpalak this doesn't work for me. I inserted your above snippet into https://upmath.me/ and it doesn't render as a table, it remains text. did something break this feature?

parpalak commented 3 years ago

Upmath = Markdown + LaTeX. You need $$ to switch from Markdown to LaTeX mode. image

chaserene commented 3 years ago

@parpalak a-ha. thank you!