Skip to content

Commit

Permalink
Move to Kramdown and Rouge
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
barryclark committed Mar 7, 2016
1 parent da5c21a commit 8c8154b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c8154b

Please sign in to comment.