summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-12 17:28:52 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-12 17:28:52 -0800
commit44120ea7165546152af88fd442c52ab0f201052e (patch)
tree34324b8b450b33f74437621dcf7087665dc0b78c /README
parent60d383e27e84022142ab666d4648a666cc5a026a (diff)
Implemented `east_asian_line_breaks` extension.
Text.Pandoc.Options: Added `Ext_east_asian_line_breaks` constructor to `Extension` (API change). This extension is like `ignore_line_breaks`, but smarter -- it only ignores line breaks between two East Asian wide characters. This makes it better suited for writing with a mix of East Asian and non-East Asian scripts. Closes #2586.
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 9 insertions, 1 deletions
diff --git a/README b/README
index 8f00ac3a8..ea6a25871 100644
--- a/README
+++ b/README
@@ -3224,7 +3224,15 @@ treated as spaces or as hard line breaks. This option is intended for
use with East Asian languages where spaces are not used between words,
but text is divided into lines for readability.
-#### Extension: `emoji` ####
+#### Extension: `east_asian_line_breaks` ####
+
+Causes newlines within a paragraph to be ignored, rather than
+being treated as spaces or as hard line breaks, when they occur
+between two East Asian wide characters. This is a better choice
+than `ignore_line_breaks` for texts that include a mix of East
+Asian wide characters and other characters.
+
+##### Extension: `emoji` ####
Parses textual emojis like `:smile:` as Unicode emoticons.