Skip to content

Commit b719520

Browse files
committed
replace redcarpet (no longer supported) with kramdown (jekyll default markdown parser)
1 parent bdec1a1 commit b719520

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
source 'https://rubygems.org'
22

33
gem 'jekyll','~>4.1.0'
4-
gem 'redcarpet'
54

65
# LSI (related posts)
76
# Note: You need to install one of nmatrix or narray first, and export NMATRIX=1 or NARRAY=1 before running bundle install

Gemfile.lock

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ GEM
9494
rb-fsevent (0.10.4)
9595
rb-inotify (0.10.1)
9696
ffi (~> 1.0)
97-
redcarpet (3.5.0)
9897
rexml (3.2.4)
9998
rouge (3.21.0)
10099
safe_yaml (1.0.5)
@@ -140,7 +139,6 @@ DEPENDENCIES
140139
jekyll-twitter-plugin
141140
jekyll_version_plugin
142141
nmatrix
143-
redcarpet
144142

145143
BUNDLED WITH
146144
2.1.4

_config.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,15 @@ defaults:
7575
class: "post-template"
7676
navigation: True
7777

78-
# Conversion
79-
markdown: redcarpet
80-
redcarpet:
81-
extensions:
82-
- "tables"
83-
- "autolink"
84-
- "strikethrough"
85-
- "space_after_headers"
86-
#- "with_toc_data"
87-
- "fenced_code_blocks"
78+
# Markdown
79+
# https://jekyllrb.com/docs/configuration/markdown/
80+
# https://kramdown.gettalong.org/options.html
81+
82+
kramdown:
83+
input: GFM
84+
smart_quotes: apos,apos,quot,quot
85+
show_warnings: true
86+
8887
lsi: false # Index for related posts (enabled by command line)
8988

9089
keep_files:

0 commit comments

Comments
 (0)