Files
pandoc/test/command/10890.md
Albert Krewinkel a45878ff1e Markdown writer: match indents in definition items
Previously, the first line of a definition details item always used a
colon and three spaces instead of respecting the tab-stop setting, which
could lead to round-tripping issues.

Likewise, the indentation of continuation paragraphs in definition lists
now matches the two-characters leader of the first line for Markua
output.

Fixes: #10890
2025-07-22 19:07:08 +02:00

16 lines
210 B
Markdown

```
% pandoc --tab-stop=2 --from=native --to=markdown
[ DefinitionList
[ ( [ Str "apple" ]
, [ [ Para [ Str "pomaceous" ] , Para [ Str "fruit" ] ] ]
)
]
]
^D
apple
: pomaceous
fruit
```