+ [2015-09-01T20:54:34Z] jekyllrb Title: holman/left ยท GitHub (at github.com)
+ [2015-09-02T22:18:20Z] StevenXL Hello everyone. I am having trouble getting syntax highlighting to work on my blog posts.
+ [2015-09-02T22:18:54Z] StevenXL The inline backticks work (` # some code here`) but the code blocks work like backticks.
+ [2015-09-02T22:18:59Z] StevenXL Identation is lost, etc.
+ [2015-09-02T22:44:04Z] jaybe StevenXL: use red carpet for markdown.

message no. 110289

Posted by StevenXL in #jekyll at 2015-09-02T22:18:20Z

Hello everyone. I am having trouble getting syntax highlighting to work on my blog posts.
+ [2015-09-03T02:04:07Z] StevenXL jaybe, thanks for the advice.
+ [2015-09-03T02:04:16Z] StevenXL I actually switched the markdown variable to kramdown
+ [2015-09-03T02:04:54Z] StevenXL and then I used three tilde (~) characters followed by the language name to start a code block, and then only three tilde characters to end a code block.
+ [2015-09-03T02:04:57Z] StevenXL That seems to have done the trick.
+ [2015-09-03T02:28:44Z] jaybe StevenXL, correct; kramdown uses tilde natively. kramdown provides a GFM (github flavored markdown) option, but it's problematic. the current way to get consistent backtick codeblock behavior is with redcarpet. jekyll sets the fenced code block enabled by default.