aboutsummaryrefslogtreecommitdiff
path: root/test/command/gfm.md
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2019-01-02 20:36:37 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-01-02 11:36:37 -0800
commitf1d83aea12b93b31f5218bed75bd0e9d8d373cb6 (patch)
treeee6606c10b3790213c553f9fe6b5ea519f1a8dce /test/command/gfm.md
parent9097ec41a9c333f24fec63085806da392f8108d4 (diff)
downloadpandoc-f1d83aea12b93b31f5218bed75bd0e9d8d373cb6.tar.gz
Implement task lists (#5139)
Closes #3051
Diffstat (limited to 'test/command/gfm.md')
-rw-r--r--test/command/gfm.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/gfm.md b/test/command/gfm.md
index 7a7098989..a4bb088b6 100644
--- a/test/command/gfm.md
+++ b/test/command/gfm.md
@@ -101,3 +101,32 @@ hi
^D
[Para [Str "hi",LineBreak,Str "hi"]]
```
+
+```
+% pandoc -f gfm -t native
+- [ ] foo
+- [x] bar
+^D
+[BulletList
+ [[Plain [Str "\9744",Space,Str "foo"]]
+ ,[Plain [Str "\9746",Space,Str "bar"]]]]
+```
+
+```
+% pandoc -f gfm-task_lists -t native
+- [ ] foo
+- [x] bar
+^D
+[BulletList
+ [[Plain [Str "[",Space,Str "]",Space,Str "foo"]]
+ ,[Plain [Str "[x]",Space,Str "bar"]]]]
+```
+
+```
+% pandoc -f gfm -t gfm
+- [ ] foo
+- [x] bar
+^D
+ - [ ] foo
+ - [x] bar
+```