12.18 Export in foreign buffers

The export back-ends in Org often include commands to convert selected
regions. A convenient feature of this in-place conversion is that the
exported output replaces the original source. Here are such functions:

org-html-convert-region-to-html

Convert the selected region into HTML.

org-latex-convert-region-to-latex

Convert the selected region into LaTeX.

org-texinfo-convert-region-to-texinfo

Convert the selected region into Texinfo.

org-md-convert-region-to-md

Convert the selected region into MarkDown.

In-place conversions are particularly handy for quick conversion of tables
and lists in foreign buffers. For example, turn on the minor mode M-x
orgstruct-mode in an HTML buffer, then use the convenient Org keyboard
commands to create a list, select it, and covert it to HTML with M-x
org-html-convert-region-to-html RET.