Blogging With Github Pages

Posted by sohail.tech on December 23, 2015

Github Pages + Jekyll + Markdown + Typekit + TextExpander = Bliss.

I’m liking the combo of Jekyll and Github Pages a LOT. Just added Typekit to my site so I can use the excellent Lato font by Warsaw-based type designer Łukasz Dziedzic. I may have gone a bit nuts with the Typekit embed code and added it to not just the head.html in my includes directory, but also to all the templates and other pages. Sorry if this causes any issues.

Also exploring using redcarpet markdown instead of kramdown so I can use Github-flavored markdown. This is mostly so I can mess around with inline code. Wonder if this works with standard syntax highlighting.

Github Markdown test:

var s = "JavaScript syntax highlighting";
alert(s);

Standard Jekyll Syntax:

var s = "JavaScript syntax highlighting";
alert(s);

Using the Github Markdown definitely works better - and I can preview the syntax highlighing in the Github web interface too, which is not the case for Jekyll code.

Next up, Disqus integration. Because I know you’re all dying to interact with me via my blog.

Then: truncating posts on the front page.