Next: , Previous: , Up: Exporting   [Contents][Index]

12.14 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.