问题
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?
回答1:
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))
回答2:
After emacs 25,you just need add a line in your emacs configuration file: .emacs
(require 'ox-md nil t)
回答3:
M-x customize-variable <Ret> org-export-backends <Ret>
check option 'md', then save.
来源:https://stackoverflow.com/questions/22988092/emacs-org-mode-export-markdown