Function: embark-org-copy-as-markdown
embark-org-copy-as-markdown is an interactive and byte-compiled
function defined in embark-org.el.
Signature
(embark-org-copy-as-markdown START END)
Documentation
Export the region from START to END to markdown and save on the kill-ring.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark-org.el
(defun embark-org-copy-as-markdown (start end)
"Export the region from START to END to markdown and save on the `kill-ring'."
(interactive "r")
(require 'ox)
(kill-new
(let (org-export-with-toc)
(string-trim
(org-export-string-as (buffer-substring-no-properties start end) 'md t))))
(deactivate-mark))