Skip to content

Commit d7bc56c

Browse files
authored
Move to Kramdown and Rouge barryclark#445
1 parent 275aefe commit d7bc56c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

_config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,23 @@ baseurl: ""
5252
#
5353

5454

55-
highlighter: pygments
55+
5656
permalink: /:title/
5757

5858
# The release of Jekyll Now that you're using
5959
version: v1.1.0
6060

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+
+
71+
6172
# Set the Sass partials directory, as we're using @imports
6273
sass:
6374
style: :expanded # You might prefer to minify using :compressed

0 commit comments

Comments
 (0)