2

HTML Export (Org Mode Compact Guide)

 1 year ago
source link: https://orgmode.org/guide/HTML-Export.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

HTML Export (Org Mode Compact Guide)

12.7 HTML Export

Org mode contains an HTML exporter with extensive HTML formatting compatible with XHTML 1.0 strict standard.

C-c C-e h h

Export as HTML file with a ‘.html’ extension. For ‘myfile.org’, Org exports to ‘myfile.html’, overwriting without warning. C-c C-e h o exports to HTML and opens it in a web browser.

The HTML export back-end transforms ‘<’ and ‘>’ to ‘<’ and ‘>’. To include raw HTML code in the Org file so the HTML export back-end can insert that HTML code in the output, use this inline syntax: ‘@@html:...@@’. For example:

@@html:<b>@@bold text@@html:</b>@@

For larger raw HTML code blocks, use these HTML export code blocks:

#+HTML: Literal HTML code for export

#+BEGIN_EXPORT html
  All lines between these markers are exported literally
#+END_EXPORT

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK