Skip to content

Emacs Org mode ASCII table

go2null edited this page Jun 15, 2016 · 1 revision

Org-mode uses a plus (+) as an intersection character instead of requiring pipes (|) when drawing the header dashes of a table. The Emacs Org-mode table automatically manages ASCII tables, but requires the use of pluses for line intersections.

Here's an example of a table in Org-table syntax. The only difference from the PHP Markdown table syntax is the use of + instead of | in the header dash line.

| Column A | Column B | Column C |
|----------+----------+----------|
| Cell A1  | Cell B1  | Cell C1  |
| Cell A2  | Cell B2  | Cell C2  |
| Cell A3  | Cell B3  | Cell C3  |

It is rendered as:

Column A Column B Column C
Cell A1 Cell B1 Cell C1
Cell A2 Cell B2 Cell C2
Cell A3 Cell B3 Cell C3

This alternate syntax was added by Pull Request #194.

Clone this wiki locally