Index: lib/src/prism/tests/languages/textile/list_feature.test |
diff --git a/lib/src/prism/tests/languages/textile/list_feature.test b/lib/src/prism/tests/languages/textile/list_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1cf0c192d1dca9f061784eb3b6ff5b1b73cc94f0 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/textile/list_feature.test |
@@ -0,0 +1,36 @@ |
+# foo |
+# bar |
+## baz |
+#[fr](#foo){background:pink} Foobar |
+ |
+* foo |
+** bar |
+*** baz |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["phrase", [ |
+ ["list", [["punctuation", "#"], " foo"]], |
+ ["list", [["punctuation", "#"], " bar"]], |
+ ["list", [["punctuation", "##"], " baz"]], |
+ ["list", [ |
+ ["punctuation", "#"], |
+ ["modifier", [ |
+ ["punctuation", "["], ["lang", "fr"], ["punctuation", "]"], |
+ ["punctuation", "("], ["class-id", "#foo"], ["punctuation", ")"], |
+ ["css", ["{background:pink}"]] |
+ ]], |
+ " Foobar" |
+ ]] |
+ ]], |
+ ["phrase", [ |
+ ["list", [["punctuation", "*"], " foo"]], |
+ ["list", [["punctuation", "**"], " bar"]], |
+ ["list", [["punctuation", "***"], " baz"]] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for list items. |