aboutsummaryrefslogtreecommitdiff
path: root/data
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 /data
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 'data')
-rw-r--r--data/templates/default.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/default.org b/data/templates/default.org
index ee073c6e5..38b6e6fcc 100644
--- a/data/templates/default.org
+++ b/data/templates/default.org
@@ -9,6 +9,12 @@ $if(date)$
#+date: $date$
$endif$
+$if(options/pairs)$
+$for(options/pairs)$
+#+options: ${it.key}:${it.value}
+$endfor$
+
+$endif$
$for(header-includes)$
$header-includes$