Use kramdown as Markdown engine for better looking syntax highlight; use Markdown Extra syntax for footnote; fine tune footnote popup.