summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLogan Saso <logansaso+tech@gmail.com>2020-10-04 15:08:54 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2020-10-05 07:14:09 +0200
commit501c369f39eb4a8d0eac667bc021b0075e478456 (patch)
tree5c3b09a3286dfc0f3bd8db76522bddb61cd147e7 /tests
parentdb3468a815ff7886a7ced0f902a0f1fdf2e3dd51 (diff)
#1213 Added example Markdown file
Diffstat (limited to 'tests')
-rw-r--r--tests/syntax-tests/highlighted/Markdown/example.md39
-rw-r--r--tests/syntax-tests/source/Markdown/example.md39
2 files changed, 78 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/Markdown/example.md b/tests/syntax-tests/highlighted/Markdown/example.md
new file mode 100644
index 00000000..df0e723a
--- /dev/null
+++ b/tests/syntax-tests/highlighted/Markdown/example.md
@@ -0,0 +1,39 @@
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+**bold** *italic* ~~strike~~ [~~***link***~~](https://guides.github.com/features/mastering-markdown/)
+__bold__ _italic_
+
+* Unordered
+* List
+ * With Indents
+ 
+1. Ordered
+2. List
+ 3. With Indents
+ 
+![Markdown Logo](https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg)
+
+> quotes
+> and more
+
+`fn inline_code() -> String { "inline code".to_string() }`
+
+```rust
+ fn syntax_highlighted<T: AsRef<&str>>(thing: T) {
+ println!("The best code has syntax highlighting: {}", thing);
+ }
+```
+
+- [x] Task
+- [] Unfinished Task
+- [] Another unfinished task
+
+First Header | Second Header
+------------ | -------------
+Content from cell 1 | Content from cell 2
+Content in the first column | Content in the second column
diff --git a/tests/syntax-tests/source/Markdown/example.md b/tests/syntax-tests/source/Markdown/example.md
new file mode 100644
index 00000000..c113a5ae
--- /dev/null
+++ b/tests/syntax-tests/source/Markdown/example.md
@@ -0,0 +1,39 @@
+# H1
+## H2
+### H3
+#### H4
+##### H5
+###### H6
+
+**bold** *italic* ~~strike~~ [~~***link***~~](https://guides.github.com/features/mastering-markdown/)
+__bold__ _italic_
+
+* Unordered
+* List
+ * With Indents
+
+1. Ordered
+2. List
+ 3. With Indents
+
+![Markdown Logo](https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg)
+
+> quotes
+> and more
+
+`fn inline_code() -> String { "inline code".to_string() }`
+
+```rust
+ fn syntax_highlighted<T: AsRef<&str>>(thing: T) {
+ println!("The best code has syntax highlighting: {}", thing);
+ }
+```
+
+- [x] Task
+- [] Unfinished Task
+- [] Another unfinished task
+
+First Header | Second Header
+------------ | -------------
+Content from cell 1 | Content from cell 2
+Content in the first column | Content in the second column