goessner / markdown-it-texmath

Support TeX math equations with your Markdown documents.
MIT License
161 stars 29 forks source link

double dollar delimiter doesn't seem to work in markdown tables? #14

Closed songololo closed 5 years ago

songololo commented 5 years ago

Is there a way to use double dollar (display style) delimiters in tables?

e.g., this doesn't work:

| key | formula | notes |
|-----|---------|-------|
| node_density | $$\sum_{j\neq{i}} w_{j}$$ | The default $w=1$ reduces ... |

But the single-dollar (inline) delimiter still seems to work fine.

goessner commented 5 years ago

Unfortunately we cannot use block elements inside of tables with markdown ... see.

This is the reason, why display style (block) equations don't work in tables.

thanks