diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-10-28 01:51:15 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-10-28 01:51:15 +0300 |
commit | c6bcba9ce93e75326bde811b622db53aa36508ef (patch) | |
tree | 67fc94efe399056e6636c83a42e5fbb09fbeb1fc /Rules | |
parent | 842318016d6d80d7f2ec600db24410bcdda47603 (diff) |
Use Redcarpet instead of Kramdown, get Rouge syntax highlighting working for it.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -21,10 +21,18 @@ compile '/**/*.html' do end compile '/**/*.md' do - filter :kramdown, - input: 'GFM', - syntax_highlighter: 'rouge', - hard_wrap: false + filter :redcarpet, + renderer: HTML, + options: { + fenced_code_blocks: true, + footnotes: true, + lax_spacing: true, + no_intra_emphasis: true, + space_after_headers: true, + strikethrough: true, + superscript: true, + tables: true + } layout '/default.*' |