Added a markdown function and modified the markdown keymaps