aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar barryclark <barry@barryclark.co> 2016-03-06 22:58:14 -0500
committerGravatar barryclark <barry@barryclark.co> 2016-03-06 22:58:14 -0500
commit8c8154bc9cdfb4cba19f1f3a3eba05b602a70ccd (patch)
tree6853cab228dd00a25e237b78a1a5dcde97d87bb9
parentda5c21a55b7352d5555164ddb2f42dcc693e52b7 (diff)
downloadkompetenzbolzen.github.io-kramdown-and-rouge.tar.gz
Move to Kramdown and Rougekramdown-and-rouge
Jekyll 3 and GitHub Pages now only support Kramdown as the Markdown engine, and Rouge as the syntax highlighter. Ref: https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-je kyll-3-0 This commit updates Jekyll Now to support these changes, with just a small _config.yml update.
-rw-r--r--_config.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml
index f62e5d0..dad6b74 100644
--- a/_config.yml
+++ b/_config.yml
@@ -53,13 +53,21 @@ baseurl: ""
# !! You don't need to change any of the configuration flags below !!
#
-markdown: redcarpet
-highlighter: pygments
permalink: /:title/
# The release of Jekyll Now that you're using
version: v1.1.0
+# 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'
+
# Set the Sass partials directory, as we're using @imports
sass:
style: :expanded # You might prefer to minify using :compressed