git.iko.soy/typeable/pandoc
on rc/2.8.1 help sign in
40 lines 2.1 kB history raw
1```
2% pandoc -f org -t native
3#+EXCLUDE_TAGS:apple cat bye dog %
5* This should not appear :apple:
6* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
7* This should not appear :cat:hi:laptop:
8** Children of headers with excluded tags should not appear :xylophone:
9* This should not appear :%:
10^D
11[Header 1 ("noexport-should-appear-if-not-specified-in-excludetags",[],[]) [Str "NOEXPORT",Space,Str "should",Space,Str "appear",Space,Str "if",Space,Str "not",Space,Str "specified",Space,Str "in",Space,Str "EXCLUDE",Subscript [Str "TAGS"],Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
12```
14```
15% pandoc -f org -t native
16#+EXCLUDE_TAGS:elephant
17* This should not appear :elephant:
18* This should appear :fawn:
19^D
20[Header 1 ("this-should-appear",[],[]) [Str "This",Space,Str "should",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","fawn")]) [SmallCaps [Str "fawn"]]]]
21```
23```
24% pandoc -f org -t native
25#+EXCLUDE_TAGS: giraffe
26#+EXCLUDE_TAGS: hippo
27* This should not appear :giraffe:
28* This should not appear :hippo:
29* This should appear :noexport:
30^D
31[Header 1 ("this-should-appear",[],[]) [Str "This",Space,Str "should",Space,Str "appear",Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
32```
34```
35% pandoc -f org -t native
36#+EXCLUDE_TAGS:
37* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
38^D
39[Header 1 ("noexport-should-appear-if-not-specified-in-excludetags",[],[]) [Str "NOEXPORT",Space,Str "should",Space,Str "appear",Space,Str "if",Space,Str "not",Space,Str "specified",Space,Str "in",Space,Str "EXCLUDE",Subscript [Str "TAGS"],Space,Span ("",["tag"],[("tag-name","noexport")]) [SmallCaps [Str "noexport"]]]]
40```