latex syntax highlighting in a pandoc file does not work if the $ starts on the first column. If you add a space before the $ then the highlighting is picked up.
I fixed this by adding pandocLatex to the contains entry on syn match pandocPara, so that $\mathcal{F}$ is highlighted correctly if it appears inside a paragraph.
latex syntax highlighting in a pandoc file does not work if the $ starts on the first column. If you add a space before the $ then the highlighting is picked up.
I fixed this by adding pandocLatex to the contains entry on syn match pandocPara, so that $\mathcal{F}$ is highlighted correctly if it appears inside a paragraph.