From 8be55d6ccb3f838895147b8d79e0e529ac671014 Mon Sep 17 00:00:00 2001 From: jxltom Date: Fri, 27 Jan 2017 23:13:57 +0800 Subject: [PATCH] Update to kramdown and rouge since Github only supports them --- _config.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index 077740f94..dcf8d0bc9 100644 --- a/_config.yml +++ b/_config.yml @@ -15,9 +15,14 @@ links: - name: GitHub url: http://github.com/muan external: true -highlighter: pygments permalink: pretty -markdown: redcarpet -redcarpet: - extensions: - - smart + +# Jekyll 3 now only supports Kramdown for Markdown +kramdown: + # Use GitHub flavored markdown, including triple backtick fenced code blocks + input: GFM + # Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting + syntax_highlighter: rouge + syntax_highlighter_opts: + # Use existing pygments syntax highlighting css + css_class: 'highlight'