Switch to redcarpet to use GFM fenced blocks. Updated formatting for footnotes & mathjax.