Function: org-md-export-as-markdown

org-md-export-as-markdown is an autoloaded, interactive and byte-compiled function defined in ox-md.el.gz.

Signature

(org-md-export-as-markdown &optional ASYNC SUBTREEP VISIBLE-ONLY)

Documentation

Export current buffer to a Markdown buffer.

If narrowing is active in the current buffer, only export its narrowed part.

If a region is active, export that region.

A non-nil optional argument ASYNC means the process should happen asynchronously. The resulting buffer should be accessible through the org-export-stack interface.

When optional argument SUBTREEP is non-nil, export the sub-tree at point, extracting information from the headline properties first.

When optional argument VISIBLE-ONLY is non-nil, don't export contents of hidden elements.

Export is done in a buffer named "*Org MD Export*", which will be displayed when org-export-show-temporary-export-buffer is non-nil.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-md.el.gz
;;; Interactive function

;;;###autoload
(defun org-md-export-as-markdown (&optional async subtreep visible-only)
  "Export current buffer to a Markdown buffer.

If narrowing is active in the current buffer, only export its
narrowed part.

If a region is active, export that region.

A non-nil optional argument ASYNC means the process should happen
asynchronously.  The resulting buffer should be accessible
through the `org-export-stack' interface.

When optional argument SUBTREEP is non-nil, export the sub-tree
at point, extracting information from the headline properties
first.

When optional argument VISIBLE-ONLY is non-nil, don't export
contents of hidden elements.

Export is done in a buffer named \"*Org MD Export*\", which will
be displayed when `org-export-show-temporary-export-buffer' is
non-nil."
  (interactive)
  (org-export-to-buffer 'md "*Org MD Export*"
    async subtreep visible-only nil nil (lambda () (text-mode))))