Skip to content

Commit

Permalink
Add test case for new comment syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
trond-snekvik committed Apr 15, 2023
1 parent 4f6f1a8 commit 61a5481
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion syntaxes/test/_comments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,24 @@
-- ^^^^^^^^^^^^^^^^^^^^^^^^ comment.block

However... lines that contain ellipses should NOT be a comment.
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -comment.block
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -comment.block

..
multiline comment that starts on the next line
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block

should continue after blank lines
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block
including paragraphs
-- ^^^^^^^^^^^^^^^^^^^^ comment.block

..
when the first line is blank, it's not a comment
-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -comment.block

...three dots should not start a comment
-- <------ -comment.block

..also needs spaces after the two dots
-- <------ -comment.block

0 comments on commit 61a5481

Please sign in to comment.