سؤال

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?

هل كانت مفيدة؟

المحلول

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))

نصائح أخرى

After emacs 25,you just need add a line in your emacs configuration file: .emacs

(require 'ox-md nil t)

M-x customize-variable <Ret> org-export-backends <Ret>

check option 'md', then save.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top