mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-17 17:39:54 +08:00
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.
This commit is contained in:
committed by
John MacFarlane
parent
3a185fb5d0
commit
b24bba7a20
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user