Emacs org-mode export markdown

落花浮王杯 提交于 2019-12-20 09:51:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!