From aa0d344514975311e592312b5bb7dd2cde659173 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Tue, 2 Jun 2015 12:48:12 +0200 Subject: introduce code highlightingh --- _config.yml | 8 +++- _includes/themes/twitter/default.html | 1 + _posts/2013-06-05-simplify-rdfwriter-method.md | 6 +++ assets/themes/twitter/css/syntax.css | 60 ++++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 assets/themes/twitter/css/syntax.css diff --git a/_config.yml b/_config.yml index 165fdb3..46013c2 100644 --- a/_config.yml +++ b/_config.yml @@ -28,12 +28,16 @@ author : # production_url : http://opentox.github.com -markdown: rdiscount +#markdown: rdiscount +markdown: redcarpet +redcarpet: + extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript", "with_toc_data"] + # All Jekyll-Bootstrap specific configurations are namespaced into this hash # JB : - version : 0.2.13 + version : 0.3.0 # All links will be namespaced by BASE_PATH if defined. # Links in your website should always be prefixed with {{BASE_PATH}} diff --git a/_includes/themes/twitter/default.html b/_includes/themes/twitter/default.html index 907da43..b52bd51 100644 --- a/_includes/themes/twitter/default.html +++ b/_includes/themes/twitter/default.html @@ -14,6 +14,7 @@ +