Skip to main content

山椒の実

Category: Blog

GFMのテスト

やっぱ普通のMarkdownを使っているわけではなくて、GitHub Flavored Markdown (GFM)を使いたいじゃないですか。 もうgithubなしで生きていける体じゃないですよ。 diff --git a/Gemfile b/Gemfile index cd8ce57..886a470 100644 --- a/Gemfile +++ b/Gemfile @@ -15,6 +15,8 @@ group :development do gem 'stringex', '~> 1.4.0' gem 'liquid', '~> 2.3.0' gem 'directory_watcher', '1.4.1' + gem 'redcarpet', '~> 2.3' + gem 'albino', '~> 1.3' end gem 'sinatra', '~> 1.4.2' diff --git a/_config.yml b/_config.yml index 41dc9c5..4115780 100644 --- a/_config.yml +++ b/_config.yml @@ -33,13 +33,16 @@ destination: public/pepper plugins: plugins code_dir: downloads/code category_dir: blog/categories -markdown: rdiscount -rdiscount: - extensions: - - autolink - - footnotes - - smart -pygments: false # default python pygments have been replaced by pygments.rb +markdown: redcarpet2 +redcarpet: + extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript", "with_toc_data", "tables"] +#markdown: rdiscount +#rdiscount: +# extensions: +# - autolink +# - footnotes +# - smart +pygments: true