Move to Kramdown 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.
kramdown-and-rouge
barryclark 2016-03-06 22:58:14 -05:00
parent da5c21a55b
commit 8c8154bc9c
1 changed files with 10 additions and 2 deletions

View File

@ -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