masukomi / vim-markdown-folding

Fold markdown documents by section.
248 stars 43 forks source link

fold fenced latex blocks #37

Open dyloxim opened 4 years ago

dyloxim commented 4 years ago

I think that the way of indicating latex blocks in markdown can vary depending on what you're interpretting it with, but I run mine through a jekyll plugin and they are deliminated with two dollar signs like so:

$$
\text{latex goes here!}
e^{i\pi}=-1
$$

would be great if folding these blocks was supported, pretty much the same deal as fenced code blocks!