Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

in org-mode, is there a function to export (current) subtree to HTML?

Tags:

emacs

org-mode

In org-mode, is there a function to export (current) subtree to HTML? How would one go about doing this?

like image 567
incandescentman Avatar asked Dec 16 '13 23:12

incandescentman


People also ask

How do you save in Org mode?

To save the document, either press the save icon, or press C-x C-s, call it 1.org.

What are org mode files?

Org Mode (also: org-mode; /ˈɔːrɡ moʊd/) is a document editing, formatting, and organizing mode, designed for notes, planning, and authoring within the free software text editor Emacs.


2 Answers

With Org 8:

M-x org-export-dispatch C-s (change the export scope to subtree) h (HTML menu) h (export to HTML file) 
like image 75
fniessen Avatar answered Sep 16 '22 16:09

fniessen


You can also use org-narrow-to-subtree to reduce the buffer and run the normal export.

like image 29
bnbeckwith Avatar answered Sep 17 '22 16:09

bnbeckwith