Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Jekyll uses Redcarpet by default for translating Markdown to HTML, but
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gvwilson committed Nov 30, 2013
1 parent 8716657 commit 9a51480
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 9a51480

Please sign in to comment.