Indirect edit Markdown in Org Mode.
- Emacs >= 27.1
- edit-indirect (emacs package)
- pandoc program
Install emacs package edit-indirect.
Download the source code and put it wherever you like and add the directory to the load path:
(add-to-list 'load-path "/path/to/md-edit-org)
(require 'md-edit-org)
(use-package md-edit-org
:straight (md-edit-org
:repo "KarimAziev/md-edit-org"
:type git
:host github)
:commands (md-edit-org))
Run in markdown buffer:
M-x md-edit-org RET
.
When done, exit with C-c C-c
.
The edited text will then converted to markdown and replace the area in the original markdown buffer. To exit without changes - C-c C-k
.
The path to the pandoc executable.
Markdown output type for pandoc.