Local links
By default, links to other pages in your site from markdown-generated HTML will cause a full refresh of the page, defeating the purpose of a SPA. You can fix that with the catch-links node module. Try something like this in wrappers/md.js:
https://blog.scottnonnenberg.com/practical-gatsby-js/