Skip to content

Commit

Permalink
deps: replace Pygments with Rouge; fix fenced code blocks and highlig…
Browse files Browse the repository at this point in the history
…hting
  • Loading branch information
mplewis committed Oct 6, 2015
1 parent da9133c commit 8b15037
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ source "https://rubygems.org"

gem 'jekyll'
gem 'kramdown'
gem 'rouge'
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ GEM
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.3.2)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.18)
timers (4.0.4)
Expand All @@ -69,6 +70,7 @@ PLATFORMS
DEPENDENCIES
jekyll
kramdown
rouge

BUNDLED WITH
1.10.6
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ source: content
permalink: /:categories/:year/:month/:day/:title

exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
pygments: true

# Themes are encouraged to use these universal variables
# so be sure to set them if your theme uses them.
#
title : Style Guide
tagline:
author :
name : Punch Through Design
name : Punch Through
github : PunchThrough
twitter : PunchThrough
environment: development
Expand All @@ -27,8 +26,9 @@ environment: development
#

markdown: kramdown
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
kramdown:
input: GFM
syntax_highlighter: rouge

production_url : http://punchthrough.github.io/styleguide

Expand Down
8 changes: 4 additions & 4 deletions _prod_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ source: content
permalink: /:categories/:year/:month/:day/:title

exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
pygments: true

# Themes are encouraged to use these universal variables
# so be sure to set them if your theme uses them.
#
title : Style Guide
tagline:
author :
name : Punch Through Design
name : Punch Through
github : PunchThrough
twitter : PunchThrough
environment: production
Expand All @@ -27,8 +26,9 @@ environment: production
#

markdown: kramdown
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables"]
kramdown:
input: GFM
syntax_highlighter: rouge

production_url : http://punchthrough.github.io/styleguide

Expand Down

0 comments on commit 8b15037

Please sign in to comment.