From c088cc0617a50c39def43169987a6bfb012bc1a9 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Thu, 3 Feb 2011 16:32:43 +0530 Subject: [PATCH] Add help for the use of tables in org-mode --- .../frontend/public/javascript/gollum-editor/langs/org.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gollum/frontend/public/javascript/gollum-editor/langs/org.js b/lib/gollum/frontend/public/javascript/gollum-editor/langs/org.js index 736214ea..8e7a9cb6 100644 --- a/lib/gollum/frontend/public/javascript/gollum-editor/langs/org.js +++ b/lib/gollum/frontend/public/javascript/gollum-editor/langs/org.js @@ -133,6 +133,10 @@ var OrgModeHelp = [ menuName: 'Code Blocks', data: '

Code Blocks are similar to blockquote, except that #+BEGIN_EXAMPLE and #+END_EXAMPLE are used.

' }, + { + menuName: 'Tables', + data: '

Orgmode supports simple tables (tables with equal number of cells in each row). To create a simple table, just separate the contents of each cell with a | character. For example,

|one|two|three|
|four|five|six|


will appear as a table with two rows and three columns. Additionally,

|one|two|three|
|---+---+-----|
|four|five|six|


will also appear as a table, but the first row will be interpreted as a header row and the <th> tag will be used to render it.

' + }, ] },