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:
parent
c26d39284c
commit
ade2a1c875
14 changed files with 356 additions and 8 deletions
19
org/testdata/headlines.pretty_org
vendored
Normal file
19
org/testdata/headlines.pretty_org
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
* Simple Headline [1/2]
|
||||
- [X] checked
|
||||
- [ ] unchecked
|
||||
- note that statistic tokens are marked up anywhere
|
||||
not just where they are actually meant to be - even here > [100%] <
|
||||
(Org mode proper does the same)
|
||||
* TODO [#B] Headline with todo status & priority
|
||||
* DONE Headline with TODO status
|
||||
:PROPERTIES:
|
||||
:Note: property drawers are not exported as html like other drawers
|
||||
:END:
|
||||
|
||||
the *content*
|
||||
* [#A] Headline with tags & priority :foo:bar:
|
||||
Still outside the drawer
|
||||
:DRAWERNAME:
|
||||
This is inside the drawer
|
||||
:END:
|
||||
Still outside the drawer
|
Loading…
Add table
Add a link
Reference in a new issue