From 5a0e21b9928e0b08072d58484891cfa2573452c6 Mon Sep 17 00:00:00 2001 From: kaizhang91 <37954332+kaizhang91@users.noreply.github.com> Date: Thu, 31 May 2018 04:43:58 +0800 Subject: Clarify how Ext_east_asian_line_breaks extension works (API docs). Note that it will not take effect when readers/writers are called as libraries (#4674). --- src/Text/Pandoc/Extensions.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Extensions.hs') diff --git a/src/Text/Pandoc/Extensions.hs b/src/Text/Pandoc/Extensions.hs index 5ccb7dffb..ab510d92d 100644 --- a/src/Text/Pandoc/Extensions.hs +++ b/src/Text/Pandoc/Extensions.hs @@ -101,7 +101,10 @@ data Extension = -- and disallow laziness | Ext_definition_lists -- ^ Definition lists as in pandoc, mmd, php | Ext_east_asian_line_breaks -- ^ Newlines in paragraphs are ignored between - -- East Asian wide characters + -- East Asian wide characters. Note: this extension + -- does not affect readers/writers directly; it causes + -- the eastAsianLineBreakFilter to be applied after + -- parsing, in Text.Pandoc.App.convertWithOpts. | Ext_emoji -- ^ Support emoji like :smile: | Ext_empty_paragraphs -- ^ Allow empty paragraphs | Ext_epub_html_exts -- ^ Recognise the EPUB extended version of HTML -- cgit v1.2.3