Index: lib/src/prism/tests/languages/wiki/heading_feature.test |
diff --git a/lib/src/prism/tests/languages/wiki/heading_feature.test b/lib/src/prism/tests/languages/wiki/heading_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..515dfd83bc4866deb85e01be051dc57e790b577a |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/wiki/heading_feature.test |
@@ -0,0 +1,33 @@ |
+= Header 1 = |
+== Header 2 == |
+=== Header 3 === |
+==== Header 4 ==== |
+===== Header 5 ===== |
+====== Header 6 ====== |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["heading", [ |
+ ["punctuation", "="], ["important", " Header 1 "], ["punctuation", "="] |
+ ]], |
+ ["heading", [ |
+ ["punctuation", "=="], ["important", " Header 2 "], ["punctuation", "=="] |
+ ]], |
+ ["heading", [ |
+ ["punctuation", "==="], ["important", " Header 3 "], ["punctuation", "==="] |
+ ]], |
+ ["heading", [ |
+ ["punctuation", "===="], ["important", " Header 4 "], ["punctuation", "===="] |
+ ]], |
+ ["heading", [ |
+ ["punctuation", "====="], ["important", " Header 5 "], ["punctuation", "====="] |
+ ]], |
+ ["heading", [ |
+ ["punctuation", "======"], ["important", " Header 6 "], ["punctuation", "======"] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for titles. |