Answer by Qwertie for Add syntax highlighting to gh-pages
The default syntax highlighter is rouge (equivalent to highlighter: rouge in your _config.yml file). With rouge, if you write a code block like this in markdown:~~~jslet z = 26;~~~You can expect to get...
View ArticleAnswer by jflaga for Add syntax highlighting to gh-pages
As pointed out by @David Douglas, "GitHub Pages now only supports Rouge, a pure-Ruby syntax highlighter"You have to put this in you _config.yml. This is from the _config.yml of Barry Clark's Jekyll...
View ArticleAnswer by David Douglas for Add syntax highlighting to gh-pages
"GitHub Pages now only supports Rouge, a pure-Ruby syntax highlighter" so you only need to change 'kramdown' syntax highligher to use 'rouge' in your _config.yml file.markdown: kramdownkramdown: input:...
View ArticleAnswer by Brent for Add syntax highlighting to gh-pages
Found this thread as the first hit while trying to figure out syntax highlighting, and I found an even easier way to do it that I thought I'd share. Just put the name of the language you want...
View ArticleAnswer by Tekkub for Add syntax highlighting to gh-pages
Pages already does pygments, there's nothing to install. Just use it!---layout: defaulttitle: Something with codes---Happy fun highlighting. [More...
View ArticleAdd syntax highlighting to gh-pages
Is there an easy way to add syntax highlighting to my various plugin's gh-pages using github's Pygments?I know that every page runs through the Jekyll engine and provides syntax highlighting (ref). But...
View Article