mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 21:55:44 +00:00
The default template now adds `#+options` lines if non-default settings are used for the `smart_quotes` and `special_strings` extensions.
22 lines
332 B
Markdown
22 lines
332 B
Markdown
# 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.
|
||
```
|