This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Other built-in back-ends, Up: Exporting


12.13 Export in foreign buffers

Most built-in back-ends come with a command to convert the selected region into a selected format and replace this region by the exported output. Here is a list of such conversion commands:

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.

This is particularly useful for converting tables and lists in foreign buffers. E.g., in an HTML buffer, you can turn on orgstruct-mode, then use Org commands for editing a list, and finally select and convert the list with M-x org-html-convert-region-to-html RET.