From 9a514802bdcf3a17283b474d5695d3ddda9b06c4 Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Sat, 30 Nov 2013 10:10:56 -0500 Subject: [PATCH] Jekyll uses Redcarpet by default for translating Markdown to HTML, but Redcarpet doesn't handle Markdown in HTML blocks (like div's). This PR switches to Kramdown, which *does* handle md-in-html. However, Kramdown translates single and double quotes into curly quotes by default, which confuses downstream tools, so we have to turn that off. While we're there, we also tell it to output character entities as character entities. --- _config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_config.yml b/_config.yml index 8d9e35851..7ffe58651 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,7 @@ markdown : kramdown +kramdown : + entity_output : as_input # — is output as — + smart_quotes : [39, 39, 34, 34] # decimal for left/right single/double quotes pygments : true contact : "info@software-carpentry.org" github_url : "https://github.com/swcarpentry"