Debian Codegraph @

org/testdata/headlines.pretty_org

raw
1 #+SETUPFILE: setup_file_org
2 #+OPTIONS: toc:1
3 * Simple Headline [1/2]
4 - [X] checked
5 - [ ] unchecked
6 - note that statistic tokens are marked up anywhere
7 not just where they are actually meant to be - even here > [100%] <
8 (Org mode proper does the same)
9 * TODO [#B] Headline with todo status & priority
10 * DONE Headline with TODO status
11 :PROPERTIES:
12 :CUSTOM_ID: this-will-be-the-id-of-the-headline
13 :NOTE: property drawers are not exported as html like other drawers
14 :END:
15
16 we can link to headlines that define a custom_id: [[#this-will-be-the-id-of-the-headline]]
17 * [#A] Headline with tags & priority :foo:bar:
18 Still outside the drawer
19 :DRAWERNAME:
20 This is inside the drawer
21 :END:
22 Still outside the drawer
23 * CUSTOM headline with custom status
24 it's possible to use =#+SETUPFILE= - in this case the setup file contains the following
25
26 #+INCLUDE: "setup_file_org" src org
27 * excluded headline :custom_noexport:
28 this headline and it's content are not exported as it is marked with an =EXCLUDE_TAGS= tag.
29 By default =EXCLUDE_TAGS= is just =:noexport:=.
30
31 * TODO [#A] commented headline
32 this headline is commented out. see [[https://orgmode.org/manual/Comment-Lines.html][comment lines]]
33 * malformed property drawer
34 :PROPERTIES:
35 not a property
36 :END:
37 * level limit for headlines to be included in the table of contents
38 The toc option allows setting a [[https://orgmode.org/manual/Export-settings.html][level limit]]. For this file we set it to 1 - which means that the following headlines
39 won't be included in the table of contents.
40 ** headline 2 not in toc
41 *** headline 3 not in toc
42 ** anoter headline 2 not in toc
43 you get the gist...