git.iko.soy/typeable/pandoc
on master help sign in
Removed `hard_line_breaks` extension from `markdown_github`.

GitHub has two Markdown modes, one for long-form documents like READMEs and one for short things like issue coments. In issue comments, a line break is treated as a hard line break. In README, wikis, etc., it is treated as a space as in regular Markdown. Since pandoc is more likely to be used to convert long-form documents from GitHub Markdown, `-hard_line_breaks` is a better default. Closes #3594.

commitd3dae1200adf8318fc033f6eed987507be85b71e authorJohn MacFarlane <jgm@berkeley.edu> dateFri 30 Jun 2017, 22:26 (9 years ago) parent69b2cb3
1 file changed−1
src/Text/Pandoc/Extensions.hs−1
src/Text/Pandoc/Extensions.hs−1
@@ -244,7 +244,6 @@ githubMarkdownExtensions = extensionsFromList
244244 , Ext_space_in_atx_header
245245 , Ext_intraword_underscores
246246 , Ext_strikeout
247− , Ext_hard_line_breaks
248247 , Ext_emoji
249248 , Ext_lists_without_preceding_blankline
250249 , Ext_shortcut_reference_links