Files
pandoc/test/command/10919.md
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

22 lines
332 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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
"Its nice" she said.
```