aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-09-21 19:26:32 -0700
committerJohn MacFarlane <[email protected]>2024-09-21 19:26:32 -0700
commit98e77e02f6436e4b74a164762d0f3149ae7ecefa (patch)
treeb54ae592e22fa4a2a0c2a120fc8207e072ea7cc6 /test/command
parente452f0ca3f8ad3bd08f4156c9a813b88d70594a5 (diff)
Improve blockquote parsing in dokuwiki.
Allow for quoted code blocks.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/dokuwiki-quote.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/dokuwiki-quote.md b/test/command/dokuwiki-quote.md
new file mode 100644
index 000000000..2ae4aa4f7
--- /dev/null
+++ b/test/command/dokuwiki-quote.md
@@ -0,0 +1,16 @@
+```
+% pandoc -f dokuwiki -t native
+> <code>some
+code
+</code>
+>> ok
+> then
+> more
+^D
+[ BlockQuote
+ [ CodeBlock ( "" , [] , [] ) "some\ncode\n"
+ , BlockQuote [ Plain [ Str "ok" ] ]
+ , Plain [ Str "then" , LineBreak , Str "more" ]
+ ]
+]
+```