From b24bba7a20b1d40b4b9de71015e29fa535a395f3 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 24 Jul 2025 10:46:41 +0200 Subject: 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. --- pandoc-lua-engine/test/lua/module/pandoc-format.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pandoc-lua-engine/test/lua/module') 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) -- cgit v1.2.3