switch to redcarpet for rendering

to support proper markdown functionality, see github markdown for reference
This commit is contained in:
Dominik Richter 2016-09-26 02:35:29 +02:00
parent 27fcb29394
commit 98c8f35a60
3 changed files with 12 additions and 2 deletions

View file

@ -17,3 +17,5 @@ gem 'middleman-compass', '>= 4.0.0'
gem 'middleman', '>= 4.0.0' gem 'middleman', '>= 4.0.0'
gem 'middleman-livereload' gem 'middleman-livereload'
gem 'middleman-autoprefixer' gem 'middleman-autoprefixer'
gem 'middleman-syntax'
gem 'redcarpet'

View file

@ -100,6 +100,9 @@ GEM
middleman-sprockets (4.0.0) middleman-sprockets (4.0.0)
middleman-core (~> 4.0) middleman-core (~> 4.0)
sprockets (>= 3.0) sprockets (>= 3.0)
middleman-syntax (3.0.0)
middleman-core (>= 3.2)
rouge (~> 2.0)
minitest (5.9.0) minitest (5.9.0)
multi_json (1.12.1) multi_json (1.12.1)
padrino-helpers (0.13.3.2) padrino-helpers (0.13.3.2)
@ -115,6 +118,8 @@ GEM
rb-fsevent (0.9.7) rb-fsevent (0.9.7)
rb-inotify (0.9.7) rb-inotify (0.9.7)
ffi (>= 0.5.0) ffi (>= 0.5.0)
redcarpet (3.3.4)
rouge (2.0.6)
sass (3.4.22) sass (3.4.22)
servolux (0.12.0) servolux (0.12.0)
slim (3.0.7) slim (3.0.7)
@ -141,6 +146,8 @@ DEPENDENCIES
middleman-compass (>= 4.0.0) middleman-compass (>= 4.0.0)
middleman-livereload middleman-livereload
middleman-sprockets (>= 4.0.0) middleman-sprockets (>= 4.0.0)
middleman-syntax
redcarpet
slim (>= 3.0) slim (>= 3.0)
tzinfo-data tzinfo-data
wdm (~> 0.1.0) wdm (~> 0.1.0)

View file

@ -51,6 +51,7 @@ end
activate :sprockets activate :sprockets
activate :autoprefixer activate :autoprefixer
activate :directory_indexes activate :directory_indexes
activate :syntax
set :trailing_slash, false set :trailing_slash, false
set :markdown_engine, :kramdown set :markdown_engine, :redcarpet
set :markdown, coderay_line_numbers: :table set :markdown, fenced_code_blocks: true, smartypants: true, coderay_line_numbers: :table