Files
pandoc/data/templates/default.org
Albert Krewinkel 7639e800c5 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.
2025-08-06 12:54:12 -07:00

36 lines
453 B
Org Mode

$if(title)$
#+title: $title$
$endif$
$if(author)$
#+author: $for(author)$$author$$sep$; $endfor$
$endif$
$if(date)$
#+date: $date$
$endif$
$if(options/pairs)$
$for(options/pairs)$
#+options: ${it.key}:${it.value}
$endfor$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$if(abstract)$
#+begin_abstract
$abstract$
#+end_abstract
$endif$
$for(include-before)$
$include-before$
$endfor$
$body$
$for(include-after)$
$include-after$
$endfor$