# Markdown table with Latex formulas breaks in live preview; looks good in read mode

### Steps to reproduce

When entering complex latex equations inside of a markdown table, the latex is rendered correctly, but the table breaks in live-preview mode. Switching to read mode renders the table correctly.

It doesn’t seem to affect all latex/markdown tables. The “Simple” version below renders correctly in both modes.

Complex Example (breaks in live preview; correct in read)

Pattern|Example
---|---
$\begin{pmatrix}x_0\\x_1\end{pmatrix}\otimes\begin{pmatrix}y_0\\y_1\end{pmatrix}=\begin{pmatrix}x_0\:y_0\\x_0\:y_1\\x_1\:y_0\\x_1\:y_1\\\end{pmatrix}$ | $\begin{pmatrix}1\\2\end{pmatrix}\otimes\begin{pmatrix}3\\4\end{pmatrix}=\begin{pmatrix}3\\4\\6\\8\\\end{pmatrix}$
$\begin{pmatrix}x_0\\x_1\end{pmatrix}\otimes\begin{pmatrix}y_0\\y_1\end{pmatrix}\otimes\begin{pmatrix}z_0\\z_1\end{pmatrix}=\begin{pmatrix}x_0\:y_0\:z_0\\x_0\:y_0\:z_1\\x_0\:y_1\:z_0\\x_0\:y_1\:z_1\\x_1\:y_0\:z_0\\x_1\:y_0\:z_1\\x_1\:y_1\:z_0\\x_1\:y_1\:z_1\end{pmatrix}$ | $\begin{pmatrix}0\\1\end{pmatrix}\otimes\begin{pmatrix}0\\1\end{pmatrix}\otimes\begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\\0\\0\\1\\0\end{pmatrix}$


Simple Example (correct in both modes)

Name|Formula|(1,0)|(0,1)
--|--|--|--
Identity|$f(x)=x$|$\begin{pmatrix}1&&0\\0&&1\end{pmatrix} \begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix}$|$\begin{pmatrix}1&&0\\0&&1\end{pmatrix} \begin{pmatrix}0\\1\end{pmatrix}=\begin{pmatrix}0\\1\end{pmatrix}$
Negation|$f(x)=-x$|$\begin{pmatrix}0&&1\\1&&0\end{pmatrix} \begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}0\\1\end{pmatrix}$|$\begin{pmatrix}0&&1\\1&&0\end{pmatrix} \begin{pmatrix}0\\1\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix}$
Constant-0|$f(x)=0$|$\begin{pmatrix}1&&1\\0&&0\end{pmatrix} \begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix}$|$\begin{pmatrix}1&&1\\0&&0\end{pmatrix} \begin{pmatrix}0\\1\end{pmatrix}=\begin{pmatrix}1\\0\end{pmatrix}$
Constant-1|$f(x)=1$|$\begin{pmatrix}0&&0\\1&&1\end{pmatrix} \begin{pmatrix}1\\0\end{pmatrix}=\begin{pmatrix}0\\1\end{pmatrix}$|$\begin{pmatrix}0&&0\\1&&1\end{pmatrix} \begin{pmatrix}0\\1\end{pmatrix}=\begin{pmatrix}0\\1\end{pmatrix}$


### Expected result

I’d expect to see the table correctly in live-preview mode as it displays correctly in read mode

### Actual result

Table displays “broken” in live-preview mode; displays correctly in read mode

### Environment

• Operating system: Windows 10
• Debug info:
SYSTEM INFO:
Obsidian version: v0.14.6
Installer version: v0.14.6
Operating system: Windows 10 Home 10.0.19044
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: off
Plugins installed: 1
Plugins enabled: 0

RECOMMENDATIONS:
Obviously very low priority. Still learning this awesome tool.

We don’t yet support latex in tables in live preview. Please, open a feature request.

Also, there is no need for complicated equations. This would have been enough

Pattern|Example
---|---
$a$  | $b$
$c$ | $d$


nevermind, we’ll see if we can fix this shortly.

This works

| Col1 | Col2 |
| ---|--- |
| $a$  | $b$ |
| $c$ | $d$ |


will be fixed 0.14.10

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.