Improve tests: Add pretty_org fixtures to allow testing pretty printing

Until now we expected the .org file to print back to itself - we can't do that
when the input is not pretty printed already - with the introduction of blocks
with unindented content that will be the case.
This commit is contained in:
Niklas Fasching 2018-12-18 23:50:55 +01:00
parent c26d39284c
commit ade2a1c875
14 changed files with 356 additions and 8 deletions

14
org/testdata/keywords.pretty_org vendored Normal file
View file

@ -0,0 +1,14 @@
#+CAPTION: and _multiple_
#+CAPTION: lines of *captions*!
#+ATTR_HTML: :class a b
#+ATTR_HTML: :id it :class c d
#+BEGIN_SRC sh
echo "a bash source block with custom html attributes"
#+END_SRC
and an image with custom html attributes and a caption
#+CAPTION: kittens!
#+ATTR_HTML: :style height: 100%; :id overwritten
#+ATTR_HTML: :style border: 10px solid black; :id kittens
[[https://placekitten.com/200/200#.png]]