I would like to use emacs' org-mode to write blog posts for my Jekyll-driven blog. Reading Using org to Blog with Jekyll, what is normally done is to put your front matter in an #+BEGIN_HTML
/ #+END_HTML
block which passes the front matter through untouched.
However, using org-edit-special
(C-c '
), you end up with html-mode
in the special edit buffer. Switching to yaml-mode
doesn't work, because you can't go back from the special edit mode.
Is there some way to be able to edit this front matter in yaml-mode
without resorting to things like changing the whole buffer to yaml-mode
then back to org-mode
?