aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/fenced_code_blocks.txt
diff options
context:
space:
mode:
authorDaniel Gottlieb <danny.gottlieb@gmail.com>2011-12-27 16:21:39 -0500
committerDaniel Gottlieb <danny.gottlieb@gmail.com>2011-12-27 16:21:39 -0500
commit2a8550ea467e1534d525e1220716b8a5281028c1 (patch)
tree225c39d2771721eb2477619d61db0b48e409b32f /tests/extensions/fenced_code_blocks.txt
parent2e3830b9bf3a0829db7a5d04f731b5019d28cc65 (diff)
downloadmarkdown-2a8550ea467e1534d525e1220716b8a5281028c1.tar.gz
markdown-2a8550ea467e1534d525e1220716b8a5281028c1.tar.bz2
markdown-2a8550ea467e1534d525e1220716b8a5281028c1.zip
Allow tildes or backticks in the fenced_code extension to support the syntax used by github
Diffstat (limited to 'tests/extensions/fenced_code_blocks.txt')
-rw-r--r--tests/extensions/fenced_code_blocks.txt80
1 files changed, 80 insertions, 0 deletions
diff --git a/tests/extensions/fenced_code_blocks.txt b/tests/extensions/fenced_code_blocks.txt
new file mode 100644
index 0000000..be0f997
--- /dev/null
+++ b/tests/extensions/fenced_code_blocks.txt
@@ -0,0 +1,80 @@
+~~~
+Fenced
+~~~
+
+Code block starting and ending with empty lines:
+~~~
+
+
+Fenced
+
+
+~~~
+
+Indented code block containing fenced code block sample:
+
+ ~~~
+ Fenced
+ ~~~
+
+Fenced code block with indented code block sample:
+
+~~~
+Some text
+
+ Indented code block sample code
+~~~
+
+Fenced code block with long markers:
+
+~~~~~~~~~~~~~~~~~~
+Fenced
+~~~~~~~~~~~~~~~~~~
+
+Fenced code block with fenced code block markers of different length in it:
+
+~~~~
+In code block
+~~~
+Still in code block
+~~~~~
+Still in code block
+~~~~
+
+Fenced code block with Markdown header and horizontal rule:
+
+~~~
+#test
+---
+~~~
+
+Fenced code block with link definitions, footnote definition and
+abbreviation definitions:
+
+~~~
+[example]: http://example.com/
+
+[^1]: Footnote def
+
+*[HTML]: HyperText Markup Language
+~~~
+
+```
+[example]: http://backticks.com/
+
+[^1]: Footnote def
+
+*[HTML]: HyperText Markup Language
+```
+
+`````
+testing tildes in backticks
+
+~~~
+`````
+
+~~~
+testing backticks in tildes
+
+```
+~~~