Skip to content

Commit

Permalink
Textile Reader: Add command test for ordered list start attributes (j…
Browse files Browse the repository at this point in the history
  • Loading branch information
vkraven committed Nov 27, 2022
1 parent 553aa58 commit eb04133
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions test/command/2465.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
```
$ stack exec -- pandoc -f textile -t native
This list starts:
# one
# two
This list should continue at 3:
#3 three
# four
This list should restart at 1:
# one again
# two again
[ Para
[ Str "This" , Space , Str "list" , Space , Str "starts:" ]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "one" ] ] , [ Plain [ Str "two" ] ] ]
, Para
[ Str "This"
, Space
, Str "list"
, Space
, Str "should"
, Space
, Str "continue"
, Space
, Str "at"
, Space
, Str "3:"
]
, OrderedList
( 3 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "three" ] ] , [ Plain [ Str "four" ] ] ]
, Para
[ Str "This"
, Space
, Str "list"
, Space
, Str "should"
, Space
, Str "restart"
, Space
, Str "at"
, Space
, Str "1:"
]
, OrderedList
( 1 , DefaultStyle , DefaultDelim )
[ [ Plain [ Str "one" , Space , Str "again" ] ]
, [ Plain [ Str "two" , Space , Str "again" ] ]
]
]
```

0 comments on commit eb04133

Please sign in to comment.