Sublime Forum

reStructured Text multiline comments

#1

Hi,

reStructuredText comments a multiline, but Sublime Text only highlights the first line.

e.g.

.. This text will not be shown 
   (but, for instance, in HTML might be 
   rendered as an HTML comment)

How do I alter the syntax definition for this format?

0 Likes

#2

To answer my own question, I needed to change the match for the end of the “push” from $\n? to '^(?=\S)'.

0 Likes