aboutsummaryrefslogtreecommitdiff
path: root/test/djot-reader.native
AgeCommit message (Collapse)Author
2025-10-27Djot reader: add Space elements.John MacFarlane
Previously we just got big Str elements with spaces included. But many pandoc writers assume that breakable spaces will be Space elements. So, we got odd results with e.g. jira output. Closes #11250.
2025-09-19LaTeX writer: avoid `\_` in bibliography variable.John MacFarlane
Since underscores are common in filenames, and pandoc will render strings to variables using default LaTeX escaping, we special-case `bibliography`, under the assumption that this variable will be used in the context of the `\bibliography{..}` command, which accepts unescaped underscores. Closes #11152.
2024-09-13T.P.Shared addPandocAttributes - modify for new commonmark-pandoc.John MacFarlane
The new commonmark-pandoc version automatically adds the attribute `wrapper="1"` on all Divs and Spans that are introduced just as containers for attributes that belong properly to their contents. So we don't need to add the attribute here. This gives much better results in some cases. Previously the wrapper attribute was being added even for explicit Divs and Spans in djot, but it is not needed in these cases.
2024-03-14Use djot 0.1.1.2, update tests.John MacFarlane
djot 0.1.1.1 was horribly buggy and dropped content after lists.
2024-02-13Add djot reader and writer.djotJohn MacFarlane
Djot is a light markup syntax (https://djot.net). This patch adds djot as input and output formats. API changes: Add Text.Pandoc.Readers.Djot Add Text.Pandoc.Writers.Djot