Org mode notes

From Reboil


This page contains Baltakatei's notes for using Org mode, an editing method in Emacs.

Stats

Format

To mark a file to be automatically recognized by Emacs in Org mode, include this as the first line:

FOO    -*- mode: org; -*-

Markup

See https://orgmode.org/manual/Emphasis-and-Monospace.html

 *This text is bold.*
 /This text is italic./
 _This text is underlined._     (exported markdown incompatible with Reddit markdown)
 =This text is verbatim.=
 ~This text is code.~
 +This text is strickthrough.+  (exported markdown incompatible with Reddit markdown)

Percent encoding of some special characters for proper Markdown export. (See https://en.wikipedia.org/wiki/Percent-encoding ). For example, instead of https://en.wikipedia.org/wiki/Top_(software), use https://en.wikipedia.org/wiki/Top_%28software%29. Therefore, in Org mode,

[[https://en.wikipedia.org/wiki/Top_%28software%29][~top~ command]]
becomes:
[`top` command](https://en.wikipedia.org/wiki/Top_%28software%29)
instead the of the improperly parsable:
[`top` command](https://en.wikipedia.org/wiki/Top_(software))

Options

Specify multiple options

 #+OPTIONS: html-postamble:nil toc:nil

Table of Contents config

See https://orgmode.org/manual/Table-of-Contents.html

Specify only two levels in the table of contents.

 #+OPTIONS: toc:2

Inhibit table of contents completely.

 #+OPTIONS: toc:nil

Specify custom location for table of contents.

 #+OPTIONS: toc:nil
 ...
 #+TOC: headlines 2

History

See also


External links

References


Footnotes


Comments