aboutsummaryrefslogtreecommitdiff
path: root/test/writer.org
AgeCommit message (Collapse)Author
2025-08-06Org writer: disable smart quotes by defaultAlbert Krewinkel
2025-07-27Org writer: don't wrap link descriptions.John MacFarlane
Org doesn't reliable display these as links if they have hard breaks. Closes #9000.
2024-02-19Org writer: omit extra blank line at end of quote block.John MacFarlane
2022-03-11Org writer: stop indenting property drawers, quote blocksAlbert Krewinkel
This follows the current default org-mode behavior. Closes: #3245
2022-01-08Avoid blank lines after tight sublists in org, haddock.John MacFarlane
T.P.Writers.Shared `endsWithPlain` now returns True if the list ends with a list which ends with a Plain. See #7810.
2022-01-08Org writer: don't add blank line before lists.John MacFarlane
The code to do this was apparently copied over from the RST writer, but these blank lines aren't necessary or desirable in org. See #7810 comment 3.
2022-01-07Org writer: support starting number cookiesLucas Viana
This complements #7806 by supporting writing Org ordered lists that start at a specific number.
2021-09-21Use pretty-simple to format native output.John MacFarlane
Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-09-17Org writer: don't indent contents of code blocks.John MacFarlane
We previously indented them by two spaces, following a common convention. Since the convention is fading, and the indentation is inconvenient for copy/paste, we are discontinuing this practice. Closes #5440.
2021-04-01Org writer: Use LaTeX style maths deliminators (#7196)tecosaur
Org works better with LaTeX-style delimiters.
2020-11-18Replace org #+KEYWORDS with #+keywordsTEC
As of ~2 years ago, lower case keywords became the standard (though they are handled case insensitive, as always): https://code.orgmode.org/bzg/org-mode/commit/13424336a6f30c50952d291e7a82906c1210daf0 Upper case keywords are exclusive to the manual: - https://orgmode.org/list/[email protected]/ - https://orgmode.org/list/[email protected]/
2020-07-31Org writer: don't force blank line after headersAlbert Krewinkel
Closes: #6554
2019-05-12Org writer: always indent src blocks content by 2 spacesAlbert Krewinkel
Emacs always uses two spaces when indenting the content of src blocks, e.g., when exiting a `C-c '` edit-buffer. Pandoc used to indent contents by the space-equivalent of one tab, but now always uses two spaces, too. Closes: #5440
2019-02-25Shared.compactify: Avoid mixed lists.John MacFarlane
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
2018-09-09Org writer: don't escape literal `_`, `^`.John MacFarlane
Org doesn't recognize these escapes. Closes #4882.
2017-11-04Revert "Better indentation under headers in org mode output."John MacFarlane
This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7.
2017-11-04Better indentation under headers in org mode output.John MacFarlane
See #4036. Close examination by org experts needed, to ensure that nothing breaks.
2017-05-25Added `spaced_reference_links` extension.John MacFarlane
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
2017-02-04Org writer: reduce to two spaces after bulletsAlbert Krewinkel
The org writer was inserting two spaces after list bullets. Emacs Org-mode defaults to a single space, so behavior is changed to reflect this. Closes: #3417
2017-02-04Moved tests/ -> test/.John MacFarlane