@@ -0,0 +1,29 @@
1+```
2+% pandoc -f org -t native
3+#+EXCLUDE_TAGS:apple cat bye dog %
4+
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+```
13+
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+```
22+
23+```
24+% pandoc -f org -t native
25+#+EXCLUDE_TAGS:
26+* NOEXPORT should appear if not specified in EXCLUDE_TAGS :noexport:
27+^D
28+[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"]]]]
29+```