aboutsummaryrefslogtreecommitdiff
path: root/test/writer.org
AgeCommit message (Collapse)AuthorFilesLines
2021-09-21Use pretty-simple to format native output.John MacFarlane1-8/+7
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 MacFarlane1-20/+20
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)tecosaur1-7/+7
Org works better with LaTeX-style delimiters.
2020-11-18Replace org #+KEYWORDS with #+keywordsTEC1-84/+84
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/871s50zn6p.fsf@nicolasgoaziou.fr/ - https://orgmode.org/list/87tuuw3n15.fsf@nicolasgoaziou.fr/
2020-07-31Org writer: don't force blank line after headersAlbert Krewinkel1-27/+0
Closes: #6554
2019-05-12Org writer: always indent src blocks content by 2 spacesAlbert Krewinkel1-20/+20
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 MacFarlane1-0/+1
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 MacFarlane1-4/+4
Org doesn't recognize these escapes. Closes #4882.
2017-11-04Revert "Better indentation under headers in org mode output."John MacFarlane1-406/+410
This reverts commit 1a81751cef330d875cc34f11cde4a0d478969db7.
2017-11-04Better indentation under headers in org mode output.John MacFarlane1-410/+406
See #4036. Close examination by org experts needed, to ensure that nothing breaks.
2017-05-25Added `spaced_reference_links` extension.John MacFarlane1-4/+0
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 Krewinkel1-84/+84
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 MacFarlane1-0/+855