aboutsummaryrefslogtreecommitdiff
path: root/test/command/lists-inside-definition.md
AgeCommit message (Collapse)Author
2025-06-02Markdown reader: make definition lists behave like other lists.John MacFarlane
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.
2024-09-30LaTeX writer: better fix for lists in definition lists.John MacFarlane
In commit a26ec96d89ccf532f7bca7591c96ba30d8544e4a we added an empty `\item[]` to the beginning of a list that occurs first in a definition list, to avoid having one item on the line with the label. This gave bad results in some cases (#10241) and there is a more idiomatic solution anyway: using `\hfill`. Closes #10241.
2023-10-28Shared: improve isTightList...John MacFarlane
so that it recognizes an item containing only a list which is itself tight as potentially an item in a tight list. Closes #9161.
2020-09-15LaTeX writer: fix spacing issue with list in definition list.John MacFarlane
When a list occurs at the beginning of a definition list definition, it can start on the same line as the label, which looks bad. Fix that by starting such lists with an `\item[]`.