diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-12 17:28:52 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-12 17:28:52 -0800 |
commit | 44120ea7165546152af88fd442c52ab0f201052e (patch) | |
tree | 34324b8b450b33f74437621dcf7087665dc0b78c /README | |
parent | 60d383e27e84022142ab666d4648a666cc5a026a (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-- | README | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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. |