summaryrefslogtreecommitdiff
path: root/tests/query
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/markdown/test.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/query/highlights/markdown/test.md b/tests/query/highlights/markdown/test.md
new file mode 100644
index 00000000..1eaba982
--- /dev/null
+++ b/tests/query/highlights/markdown/test.md
@@ -0,0 +1,41 @@
+# H1
+
+<!--
+^ TSPunctSpecial
+-->
+
+## H2
+
+<!--
+^ TSPunctSpecial
+-->
+
+- Item 1
+- Item 2
+
+<!--
+^ TSPunctSpecial
+-->
+
+1. Item 1
+2. Item 2
+
+<!--
+ ^ TSPunctSpecial
+-->
+
+![image_description](https://example.com/image.jpg "awesome image title")
+
+<!--
+ ^ TSTextReference ^ TSURI ^ TSLiteral
+ ^ TSPunctDelimiter ^ TSPunctDelimiter
+^ TSPunctSpecial
+-->
+
+[link_text](#local_reference "link go brr...")
+
+<!--
+ ^ TSURI
+ ^ TSTextReference ^ TSLiteral
+^ TSPunctDelimiter ^ TSPunctDelimiter
+-->