mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-05 23:25:44 +00:00
If the `four_space_rule` extension is not enabled, figure out the indentation needed for child blocks dynamically, by looking at the first nonspace content after the `:` marker. Previously the four-space rule was always obeyed. Remove the old `compact_definition_lists` extension. This was neded to preserve backwards compatibility after pandoc 1.12 was released, but at this point we can get rid of it. T.P.Extensions: remove `Ext_compact_definition_lists` constructor for `Extension` [API change]. Fix tight/loose detection for definition lists, to conform to the documentation. Closes #10889.
17 lines
115 B
Markdown
17 lines
115 B
Markdown
```
|
|
% pandoc
|
|
apple
|
|
|
|
: pomaceous
|
|
|
|
fruit
|
|
^D
|
|
<dl>
|
|
<dt>apple</dt>
|
|
<dd>
|
|
<p>pomaceous</p>
|
|
<p>fruit</p>
|
|
</dd>
|
|
</dl>
|
|
```
|