summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKurt Neufeld <kneufeld@burgundywall.com>2016-06-02 15:53:59 -0700
committerKurt Neufeld <kneufeld@burgundywall.com>2016-06-02 15:53:59 -0700
commit549f98f0896731e80efee22ac44d105fe77039e6 (patch)
tree3393e267af2631b07581649dface8cd0c204458f /tests
parent6bd42c3ccd9ee14b0268592761a0aa0b39bd2b9e (diff)
downloadpygments-549f98f0896731e80efee22ac44d105fe77039e6.tar.gz
added github flavoured markdown parser
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/example.md61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/examplefiles/example.md b/tests/examplefiles/example.md
new file mode 100644
index 00000000..2befb107
--- /dev/null
+++ b/tests/examplefiles/example.md
@@ -0,0 +1,61 @@
+# this is a header
+
+## this is a 2nd level header
+
+* list item 1
+ * list item 1.1
+* list item 2
+- list item 3
+
+1. numbered list item 1
+1. numbered list item 2
+
+- [ ] todo
+- [x] done
+- [X] done
+
+The following is italic: *italic*
+The following is italic: _italic_
+
+The following is not italic: \*italic\*
+The following is not italic: \_italic\_
+
+The following is not italic: snake*case*word
+The following is not italic: snake_case_word
+
+The following is bold: **bold** **two or more words**
+The following is bold: __bold__ __two or more words__
+
+The following is not bold: snake**case**word
+The following is not bold: snake__case__word
+
+The following is strikethrough: ~~bold~~
+The following is not strikethrough: snake~~case~~word
+
+The following is bold with italics inside: **the next _word_ should have been italics**
+
+> this is a quote
+
+> this is a multiline
+> quote string thing
+
+this sentence `has monospace` in it
+
+this sentence @tweets a person about a #topic.
+
+[google](https://google.com/some/path.html)
+![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png)
+
+```
+ * this is just unformated
+ __text__
+```
+
+some other text
+
+```python
+from pygments import token
+# comment
+```
+
+some more text