Emacs org-mode export markdown

silgon picture silgon · Apr 10, 2014 · Viewed 8.1k times · Source

I have some weird behavior, I don't actually know if it's a bug or something else. When I do C-c C-e the option to convert to markdown doesn't appear. Nonetheless I can type the option M-x org-md-export-as-markdown and after I do that, the option export to markdown appears in the C-c C-e menu.

Any Ideas?

Answer

Chris picture Chris · Apr 10, 2014

If you are using Org-mode version 8.0 or later (check with M-x org-version), the export framework is broken up into several libraries that are not necessarily loaded by default.

Something like this in your Emacs configuration can load the Markdown exporter automatically with Org-mode:

(eval-after-load "org"
  '(require 'ox-md nil t))