go-org-orgwiki/org/testdata/headlines.org
Niklas Fasching adeeb9235d Handle malformed :PROPERTY: drawers
Until now we'd get index out of range errors trying to index into the match if
:PROPERTIES: was followed by a non-property. Thanks fuzz
2019-09-28 15:12:19 +02:00

1.1 KiB

Simple Headline [1/2]

  • 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

we can link to headlines that define a custom_id: #this-will-be-the-id-of-the-headline

[A] Headline with tags & priority   foo bar

Still outside the drawer

This is inside the drawer

Still outside the drawer

CUSTOM headline with custom status

it's possible to use #+SETUPFILE - in this case the setup file contains the following

excluded headline   custom_noexport

this headline and it's content are not exported as it is marked with an EXCLUDE_TAGS tag. By default EXCLUDE_TAGS is just :noexport:.

malformed property drawer

:PROPERTIES: not a property

:END: