mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Docx writer: Add tests for list continuation.
This commit is contained in:
@@ -205,6 +205,14 @@ tests = [ testGroup "inlines"
|
||||
"lists"
|
||||
"docx/lists.docx"
|
||||
"docx/lists.native"
|
||||
, testCompare
|
||||
"lists continuing after interruption"
|
||||
"docx/lists_continuing.docx"
|
||||
"docx/lists_continuing.native"
|
||||
, testCompare
|
||||
"lists restarting after interruption"
|
||||
"docx/lists_restarting.docx"
|
||||
"docx/lists_restarting.native"
|
||||
, testCompare
|
||||
"definition lists"
|
||||
"docx/definition_list.docx"
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
[OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Foo"]]
|
||||
,[Para [Str "Bar"]]
|
||||
,[Para [Str "Baz"]]]
|
||||
,Para [Str "Interruption."]
|
||||
,OrderedList (4,Decimal,Period)
|
||||
[[Para [Str "Bop"]]]]
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
[OrderedList (2,Decimal,Period)
|
||||
[[Para [Str "Foo"]]
|
||||
,[Para [Str "Bar"]]
|
||||
,[Para [Str "Baz"]]]
|
||||
,BlockQuote
|
||||
[Para [Str "Interruption"]]
|
||||
,OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Bop."]]]]
|
||||
Reference in New Issue
Block a user