From 8e688c2b0c2b1fea71825a2a13eec8e119713773 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 16 Jan 2023 11:34:59 +0100 Subject: [PATCH] Add tests for org tags These were intended to be part of commit 0cc908519. --- test/command/8513.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/command/8513.md 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: +```