Closed j1-lee closed 3 years ago
Seems fair, I'll look at it.
Should be solved now. Note that the reason for the "glitch" is because the entire fenced region allows tex syntax, and you have set conceallevel=2
and conceals activated. I don't know a general way to avoid the tex syntax to match also on the fences, but I've updated to ignore the conflicting texLigature
group.
Can you test now?
This is great, thank you!
Glad you like it!
Hi, I am trying out wiki.vim and wiki-ft.vim today, and I like it!
I would like to ask for some enhancement regarding math in wiki; there are two issues, which are shown in the following example.
Minimal example code
minimal.vim
minimal.tex
Observed behavior
The multi-line math region
is not highlighted.
As we can see, when combined with lervag/vimtex, the fence part of the
tex
code block is concealed to“
. (This does not happen when vimtex turned off.)Expected behavior
tex
syntax. As$$...$$
math region is supported by pandoc markdown (as well as other markdown variants as well), I think this is not too a far-fetched enhancement; instead, it might be useful for writing wiki pages that involve some small math. (Note that one needs to use$$...$$
, notpre
block, in order to show the processed equation in the exported pdf or html documents).Thank you!