diff options
| author | Albert Krewinkel <[email protected]> | 2025-07-24 10:46:41 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-08-06 12:54:12 -0700 |
| commit | b24bba7a20b1d40b4b9de71015e29fa535a395f3 (patch) | |
| tree | 93b995f51892b4e7a6cf258d0c98bc2dc9db8e44 /pandoc-lua-engine/test/lua/module | |
| parent | 3a185fb5d008f8ffb1cc1cb03b805a29df24a2c9 (diff) | |
Add `smart_quotes` and `special_strings` extensions for Org
Org mode makes a distinction between smart parsing of quotes, and smart
parsing of special strings like `...`. The finer grained control over
these features is necessary to truthfully reproduce Emacs Org mode
behavior. Special strings are enabled by default, while smart quotes are
disabled.
The behavior of `special_string` is brought closer to the reference
implementation in that `\-` is now treated as a soft hyphen.
Diffstat (limited to 'pandoc-lua-engine/test/lua/module')
| -rw-r--r-- | pandoc-lua-engine/test/lua/module/pandoc-format.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc-lua-engine/test/lua/module/pandoc-format.lua b/pandoc-lua-engine/test/lua/module/pandoc-format.lua index e3511d7ad..6a1915a16 100644 --- a/pandoc-lua-engine/test/lua/module/pandoc-format.lua +++ b/pandoc-lua-engine/test/lua/module/pandoc-format.lua @@ -42,6 +42,8 @@ return { fancy_lists = false, gfm_auto_identifiers = false, smart = false, + smart_quotes = false, + special_strings = true, task_lists = true, } assert.are_same(format.extensions 'org', org_default_exts) |
