aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2025-08-03 14:59:35 +0200
committerJohn MacFarlane <[email protected]>2025-08-06 12:54:12 -0700
commit7639e800c5af85e5ded862a6e218d54489d17bfc (patch)
treecd6274889de4baae6b47abb67926c0b1bf19d592 /test/command
parent90afbea1db63dd0b84a17fdd5702dc43107725d8 (diff)
Org template: add `#+options` lines if necessary
The default template now adds `#+options` lines if non-default settings are used for the `smart_quotes` and `special_strings` extensions.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/10919.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/10919.md b/test/command/10919.md
new file mode 100644
index 000000000..6f03c8371
--- /dev/null
+++ b/test/command/10919.md
@@ -0,0 +1,21 @@
+# Org output with smart quotes turned on
+
+```
+% pandoc -t org+smart_quotes -s
+"It's nice" she said.
+^D
+#+options: ':t
+
+"It's nice" she said.
+```
+
+Same test, but with special strings turned off.
+```
+% pandoc -t org+smart_quotes-special_strings -s
+"It's nice" she said.
+^D
+#+options: ':t
+#+options: -:nil
+
+"It’s nice" she said.
+```