Skip to content

Commit 8c8154b

Browse files
committed
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.
1 parent da5c21a commit 8c8154b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

_config.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,21 @@ baseurl: ""
5353
# !! You don't need to change any of the configuration flags below !!
5454
#
5555

56-
markdown: redcarpet
57-
highlighter: pygments
5856
permalink: /:title/
5957

6058
# The release of Jekyll Now that you're using
6159
version: v1.1.0
6260

61+
# Jekyll 3 now only supports Kramdown for Markdown
62+
kramdown:
63+
# Use GitHub flavored markdown, including triple backtick fenced code blocks
64+
input: GFM
65+
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting
66+
syntax_highlighter: rouge
67+
syntax_highlighter_opts:
68+
# Use existing pygments syntax highlighting css
69+
css_class: 'highlight'
70+
6371
# Set the Sass partials directory, as we're using @imports
6472
sass:
6573
style: :expanded # You might prefer to minify using :compressed

0 commit comments

Comments
 (0)