mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-16 14:27:16 +00:00
8ce63ffe28
- Properly handle the case where the first item is an indented code block. (Closes #11542.) - Use correct indentation when `four_space_rule` extension is disabled.
601 B
601 B
% pandoc -f native -t markdown
[ DefinitionList
[ ( [ Str "Input" ]
, [ [ CodeBlock ( "" , [] , [] ) "Term\n\n : Def" ] ]
)
]
]
^D
Input
: Term
: Def
% pandoc -f markdown -t native
Input
: Term
: Def
^D
[ DefinitionList
[ ( [ Str "Input" ]
, [ [ CodeBlock ( "" , [] , [] ) "Term\n\n : Def" ] ]
)
]
]
% pandoc -f native -t markdown+four_space_rule
[ DefinitionList
[ ( [ Str "Input" ]
, [ [ CodeBlock ( "" , [] , [] ) "Term\n\n : Def" ] ]
)
]
]
^D
Input
: Term
: Def