This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/markdown/test_setext_subheadings.txt
Jean Abou-Samra 9b4af21690
Move more tests to tests/snippets instead of .py files (#2344)
These are easier to update in tests/snippets/ (just run with
--update-goldens).
2023-03-29 16:26:26 +02:00

128 lines
1.8 KiB
Text

---input---
Setext subheadings:
Subheading
-
Subheading
----------
Subheading
-----------
These are NOT Setext subheadings:
Subheading
Subheading
_
Subheading
---------
Subheading
a---------
---------
-
Subheading
----------Text
---tokens---
'Setext' Text
' ' Text
'subheadings:' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Generic.Subheading
'\n' Text
'-' Generic.Subheading
'\n' Text
'\n' Text.Whitespace
'Subheading' Generic.Subheading
'\n' Text
'----------' Generic.Subheading
'\n' Text
'\n' Text.Whitespace
'Subheading' Generic.Subheading
'\n' Text
'-----------' Generic.Subheading
'\n' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'These' Text
' ' Text
'are' Text
' ' Text
'NOT' Text
' ' Text
'Setext' Text
' ' Text
'subheadings:' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Text
'\n' Text.Whitespace
'_' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Text
'\n' Text.Whitespace
' ' Text
'---------' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Text
'\n' Text.Whitespace
'a---------' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'---------' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'-' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Subheading' Text
'\n' Text.Whitespace
'----------Text' Text
'\n' Text.Whitespace