標記語法

Org 提供了一種完整的標記語言,可以幫助構建文件,並在匯出到其他格式(如 HTML 或 LaTeX)時儘可能準確地反映出來。

結構體

檔名

#+TITLE: This is the title of the document

切片

* First level
** Second level

清單

Ordered list (items can also be numbered like '1)', with a perenthesis):
1. foo
2. bar
3. baz
Unordered list (items can also start with '+' or '*'):
- foo
- bar
- baz
Description
- lorem ipsum::this is example text
- foo bar::these are placeholder words

核取方塊

通過使用字串’[]‘開始,可以將普通列表中的每個專案設定為核取方塊。

* TODO [2/4] (or [50%])
  - [-] call people [1/3]
    - [ ] Peter
      - [X] Sarah
      - [ ] Sam
  - [X] order food
  - [ ] think about what music to play
  - [X] talk to the neighbors
  • C-c C-c ORG-肘核取方塊
  • C-c C-x C-b ORG-肘核取方塊
  • M-S- ORG-插入 - 待辦事項航向
  • C-c C-x o ORG-切換有序屬性
  • C-c # 有機更新統計餅乾

重點和等寬

You can make words *bold*, /italic/, _underlined_, =verbatim=
and ~code~, and, if you must, ‘+strike-through+’.

程式碼和逐字字串中的文字不是針對 Org 模式特定語法處理的,而是逐字匯出的。

連結和參考

連結

組織模式將識別 URL 格式並將其啟用為可點選連結。但是,連結可以像這樣顯式宣告:

You will find more information in the [[http://orgmode.org/org.html][Org Manual]].

或者:

The org manual is located here: [[http://orgmode.org/org.html]]

腳註

腳註可以命名為:

See the org manual[fn:manual] to get more details.
...
[fn:manual] You will find it here: http://orgmode.org/org.html

或匿名和內聯:

See the org manual[fn:: You will find it here: http://orgmode.org/org.html]
to get more details.