pandoc-mode icon indicating copy to clipboard operation
pandoc-mode copied to clipboard

Syntax highlighting of multi-line image captions (with references)

Open japhir opened this issue 9 years ago • 1 comments

When I have an image caption with multiple lines and a reference in it, syntax highlighting is a little bit broken (it doesn't recognise it as an image caption anymore). I could obviously put it all on a single line and it would work, but look ugly in the buffer.

Pandoc recognises the multi-line caption well, but doesn't anymore if i put a space/return between the ] and the (.

![This is the image caption
it has multiple lines
and sometimes references
an @importantsource2015](linktoimage.jpg)

japhir avatar Oct 12 '15 08:10 japhir

Yes, I see the problem. I'll see what I can do to fix it.

joostkremers avatar Oct 12 '15 11:10 joostkremers