EFanZh’s Blog

Use CommonMark on GitHub pages

Use CommonMark on GitHub pages

Turns out that besides kramdown, GitHub Pages also supports gfm as a markdown engine. The gfm markdown is based on jekyll-commonmark-ghpages, which uses a customized CommonMark parser that supports GitHub Flavored Markdown.

To use gfm markdown engine, add the following line to your _config.yml.

markdown: gfm