0
RedCloth FAQ描述了使用fold_lines
选项来禁用硬中断。当被称为Jekyll构建过程的一部分时,将fold_lines
传递给RedCloth的最简单方法是什么? ?如何从Jekyll传递参数到RedCloth(纺织品处理器)
(我只思念的东西Jekyll configuration guide
RedCloth FAQ描述了使用fold_lines
选项来禁用硬中断。当被称为Jekyll构建过程的一部分时,将fold_lines
传递给RedCloth的最简单方法是什么? ?如何从Jekyll传递参数到RedCloth(纺织品处理器)
(我只思念的东西Jekyll configuration guide
在你_config.yml
文件,你可以使用:
redcloth:
hard_breaks: false
从杰基尔converters:textile.rb
# List of attributes defined on RedCloth
# (from https://github.com/jgarber/redcloth/blob/master/lib/redcloth/textile_doc.rb)
attrs = ['filter_classes', 'filter_html', 'filter_ids', 'filter_styles',
'hard_breaks', 'lite_mode', 'no_span_caps', 'sanitize_html']