aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2023-01-16 11:34:59 +0100
committerAlbert Krewinkel <[email protected]>2023-01-16 18:21:36 +0100
commit8e688c2b0c2b1fea71825a2a13eec8e119713773 (patch)
treed8eb8fd13d96576bae7a24fb30d15d66e29534e8 /test/command
parentc6551433b2229130000bd547c879751270430867 (diff)
Add tests for org tags
These were intended to be part of commit 0cc908519.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8513.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/command/8513.md b/test/command/8513.md
new file mode 100644
index 000000000..e1ed2c362
--- /dev/null
+++ b/test/command/8513.md
@@ -0,0 +1,27 @@
+# Round-tripping tags in org
+```
+% pandoc --from org --to org --columns=72
+* Header with tag :tag:
+^D
+* Header with tag :tag:
+:PROPERTIES:
+:CUSTOM_ID: header-with-tag
+:END:
+```
+
+Multiple tags
+```
+% pandoc --from org-auto_identifiers --to org --columns=78
+* Header with two tags :first:second:
+^D
+* Header with two tags :first:second:
+```
+
+Check that long headings work with tags
+
+```
+% pandoc --from org-auto_identifiers --to org --columns=40
+* Header with tag and more words which are not that interesting :tag:
+^D
+* Header with tag and more words which are not that interesting :tag:
+```