Index: lib/src/prism/tests/languages/markdown+haml/markdown_inclusion.test |
diff --git a/lib/src/prism/tests/languages/markdown+haml/markdown_inclusion.test b/lib/src/prism/tests/languages/markdown+haml/markdown_inclusion.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4a75fa9cc214c35b8780cf40a7bb313e8bdddc12 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/markdown+haml/markdown_inclusion.test |
@@ -0,0 +1,32 @@ |
+:markdown |
+ # Title 1 |
+ |
+~ |
+ :markdown |
+ # Title 1 |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["filter-markdown", [ |
+ ["filter-name", ":markdown"], |
+ ["title", [ |
+ ["punctuation", "#"], |
+ " Title 1" |
+ ]] |
+ ]], |
+ ["punctuation", "~"], |
+ ["filter-markdown", [ |
+ ["filter-name", ":markdown"], |
+ ["title", [ |
+ ["punctuation", "#"], |
+ " Title 1" |
+ ]] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for Markdown filter in Haml. The tilde serves only as a separator. |
+Indentation is intentionally less than 1 tab, otherwise markdown is |
+interpreted as code. |