go-org-orgwiki/org/testdata
Niklas Fasching b61e49eb85 Preserve whitespace (indentation) inside paragraphs
We want original whitespace to be rendered in some cases (e.g. verse
blocks). This requires information about the original whitespace to be
preserved during paragraph parsing. As html ignores (collapses) whitespace by
default we don't have to adapt the html writer and can just selectively enable
rendering of the preseverved whitespace wherever we want it using
css (white-space: pre).

To differentiate meaningful whitespace from document structure based
indentation (i.e. list item base indentation) we need to introduce
document.baseLvl. A paragraph by itself does not have enough information to
differentiate both kinds of whitespace and needs this information as context
[0].

As we're already touching list indentation i went along and improved (fixed?)
descriptive list item indentation rendering in the org writer (it should match
emacs tab behavior - i.e. indent subsequent lines up to the `:: `).

[0] e.g. list items can contain blank lines - a paragraph starting with a blank
line would not know that it is part of a list item / has a base indentation -
the blank line would suggest a baseLvl of 0.
2019-12-22 14:17:14 +01:00
..
blocks.html Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
blocks.org Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
blocks.pretty_org Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
captions.html html: Fix code block export (superfluous newlines) 2019-07-28 16:40:09 +02:00
captions.org Remove outdated information from captions fixture 2018-12-19 00:39:06 +01:00
captions.pretty_org Remove outdated information from captions fixture 2018-12-19 00:39:06 +01:00
footnotes.html html: Fix code block export (superfluous newlines) 2019-07-28 16:40:09 +02:00
footnotes.org HTML export: Improve handling of missing footnote definitions 2019-07-07 18:01:22 +02:00
footnotes.pretty_org HTML export: Improve handling of missing footnote definitions 2019-07-07 18:01:22 +02:00
footnotes_in_headline.html html: Fix html writer footnotes (in headlines) 2019-08-24 12:11:23 +02:00
footnotes_in_headline.org html: Fix html writer footnotes (in headlines) 2019-08-24 12:11:23 +02:00
footnotes_in_headline.pretty_org html: Fix html writer footnotes (in headlines) 2019-08-24 12:11:23 +02:00
headlines.html Handle malformed :PROPERTY: drawers 2019-09-28 15:12:19 +02:00
headlines.org Handle malformed :PROPERTY: drawers 2019-09-28 15:12:19 +02:00
headlines.pretty_org Handle malformed :PROPERTY: drawers 2019-09-28 15:12:19 +02:00
inline.html Fix explicit line break parsing 2019-01-12 20:08:17 +01:00
inline.org Fix explicit line break parsing 2019-01-12 20:08:17 +01:00
inline.pretty_org Fix explicit line break parsing 2019-01-12 20:08:17 +01:00
keywords.html Add support for NAME keyword 2019-10-27 15:12:38 +01:00
keywords.org Add support for NAME keyword 2019-10-27 15:12:38 +01:00
keywords.pretty_org Add support for NAME keyword 2019-10-27 15:12:38 +01:00
latex.html Remove superfluous latex test case and fix description 2019-09-28 15:22:59 +02:00
latex.org Remove superfluous latex test case and fix description 2019-09-28 15:22:59 +02:00
latex.pretty_org Remove superfluous latex test case and fix description 2019-09-28 15:22:59 +02:00
lists.html html: write descriptive list closing dt tag on separate line 2019-08-26 14:37:52 +02:00
lists.org Support list items with empty first line 2018-12-19 17:40:47 +01:00
lists.pretty_org Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
misc.html Fix ExplicitLineBreak parsing 2019-10-29 01:03:10 +01:00
misc.org Fix ExplicitLineBreak parsing 2019-10-29 01:03:10 +01:00
misc.pretty_org Fix ExplicitLineBreak parsing 2019-10-29 01:03:10 +01:00
options.html Improve document.GetOption: Merge default and buffer local options 2019-01-02 18:52:03 +01:00
options.org Improve document.GetOption: Merge default and buffer local options 2019-01-02 18:52:03 +01:00
options.pretty_org Improve document.GetOption: Merge default and buffer local options 2019-01-02 18:52:03 +01:00
paragraphs.html Split example.org into separate files 2018-12-11 14:43:44 +01:00
paragraphs.org Split example.org into separate files 2018-12-11 14:43:44 +01:00
paragraphs.pretty_org Improve tests: Add pretty_org fixtures to allow testing pretty printing 2018-12-18 23:54:04 +01:00
setup_file_org Add support for EXCLUDE_TAGS and :noexport: 2018-12-26 15:31:48 +01:00
tables.html Fix headline tags, table pretty printing and multiline links 2018-12-19 13:15:31 +01:00
tables.org Fix headline tags, table pretty printing and multiline links 2018-12-19 13:15:31 +01:00
tables.pretty_org Fix headline tags, table pretty printing and multiline links 2018-12-19 13:15:31 +01:00