Function: org-html-convert-region-to-html

org-html-convert-region-to-html is an autoloaded, interactive and byte-compiled function defined in ox-html.el.gz.

Signature

(org-html-convert-region-to-html)

Documentation

Assume the current region has Org syntax, and convert it to HTML.

This can be used in any buffer. For example, you can write an itemized list in Org syntax in an HTML buffer and use this command to convert it.

Key Bindings

Aliases

org-export-region-to-html

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;###autoload
(defun org-html-convert-region-to-html ()
  "Assume the current region has Org syntax, and convert it to HTML.
This can be used in any buffer.  For example, you can write an
itemized list in Org syntax in an HTML buffer and use this command
to convert it."
  (interactive)
  (org-export-replace-region-by 'html))