Added template for the markdown edit mode and implemented switch between modes. Looks really nice :)