Copying GitHub Markdown Style

Nick Galbreath

Like how GitHub displays markdown? Get the look with these CSS styles.


Sindre Sorhus made a site that covers everything about GitHub-flavored markdown. The CSS to replicate the GitHub style can be found at the matching GitHub repository


Dmitri Shuralyov wrote shurcool/github-flavored-markdown as a extension to the Black Friday markdown processor. It takes markdown and turns it into HTML that should be identical to what GitHub produces.

It also includes a simple CSS to replicate the GitHub look. It’s a little less complete than the Sorhus version but also a lot simpler and easier to start with.