Browse Source

test: add test for nested gh codeblocks

Estevao Soares dos Santos 8 years ago
parent
commit
dbf876b6cb
2 changed files with 17 additions and 0 deletions
  1. 8 0
      test/cases/nested-gh-codeblocks.html
  2. 9 0
      test/cases/nested-gh-codeblocks.md

+ 8 - 0
test/cases/nested-gh-codeblocks.html

@@ -0,0 +1,8 @@
+<pre><code>1. some code idented 4 spaces
+
+    ```
+    var foobar = 'foo';
+    ```
+
+2. another line
+</code></pre>

+ 9 - 0
test/cases/nested-gh-codeblocks.md

@@ -0,0 +1,9 @@
+```
+1. some code idented 4 spaces
+
+    ```
+    var foobar = 'foo';
+    ```
+
+2. another line
+```