Add support for markdown
Also add a prompt when navigating away from a page with unsaved changes