diff --git a/demo/org-mode-syntax.html b/demo/org-mode-syntax.html index 321af27..9cb0fd5 100755 --- a/demo/org-mode-syntax.html +++ b/demo/org-mode-syntax.html @@ -45,8 +45,9 @@ @@ -58,163 +59,198 @@

Table of Contents

+ +++ + + + + + + + + + + + + + + +
FrameworkOrg mode 8
Bug trackerhttps://github.com/fniessen/org-html-themes/issues
Sourcehttps://github.com/fniessen/org-html-themes
+
+

Summary

+
+ +

This is an Org mode document, using the .org extension (supported by GitHub).

Org mode is an easy-to-write plain text formatting syntax for authoring notes, articles, LaTeX documents, books, Web pages, Beamer slide decks and much more!

-

This is a cheat sheet for Org mode 8 (because of some markup syntax changes since Org mode 7), using ReadTheOrg CSS.

Reading through all the documentation is highly recommended, but for the truly impatient, following are some quick steps to get started.

-
-

Document header

-
+
+
+
+

Document header

+

Title and author line:

@@ -230,21 +266,21 @@ My document provides...
 
-
-

Document settings

-
-
-

Document description

-
+
+

Document settings

+
+
+

Document description

+
 #+DESCRIPTION: This document catalogs a set of tips and tricks for composing documents in Org mode.
 #+KEYWORDS:  org-mode, syntax, quick reference, cheat sheet, recommended practices, latex, beamer, html
 #+LANGUAGE:  en
 
-
-

Section numbering

-
+
+

Section numbering

+
 #+OPTIONS:   H:4
@@ -255,9 +291,9 @@ My document provides...
 
-
-

Table of contents

-
+
+

Table of contents

+

Set the toc attribute to activate an auto-generated table of contents (limited to its 2 first levels) at the top of document.

@@ -272,25 +308,25 @@ My document provides...
 
-
-

List of figures

-
+
+

List of figures

+

#+TOC: figures is not implemented yet in the HMTL backend.

-
-

List of tables

-
+
+

List of tables

+

#+TOC: tables is already implemented in the HTML backend.

-
-

List of equations

+
+

List of equations

-
-

Section titles (headings)

-
+
+

Section titles (headings)

+
 * Biggest heading (level 1)
@@ -312,27 +348,27 @@ New sub-section.
 New sub-sub-section.
 
-
-

Bigger heading (level 2)

-
+
+

Bigger heading (level 2)

+

New section.

-
-

Big heading (level 3)

-
+
+

Big heading (level 3)

+

New sub-section.

-
-
Heading (level 4)
-
+
+
Heading (level 4)
+

New sub-sub-section.

-
-

Numbered headings

-
+
+

Numbered headings

+

You can create numbered headings up to a certain level by setting an option:

@@ -341,12 +377,12 @@ New sub-sub-section.
 
-
-

Paragraphs

-
-
-

Normal

-
+
+

Paragraphs

+
+
+

Normal

+
 A single newline has no effect.
@@ -361,9 +397,9 @@ demarcates paragraphs.
 

demarcates paragraphs.

-
-

Line breaks

-
+
+

Line breaks

+
 By entering two consecutive backslashes, \\
@@ -374,9 +410,9 @@ without starting a new paragraph.
 you can force to break lines without starting a new paragraph.

-
-

Horizontal rules

-
+
+

Horizontal rules

+
 For an horizontal line, insert at least 5 dashes: this is some text above an
@@ -389,21 +425,21 @@ and some text below it.
 

and some text below it.

-
-

Text width

-
+
+

Text width

+

One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked.

-
-

Formatting text

-
+
+

Formatting text

+

Text effects.

-
-

Bold and italic

-
+
+

Bold and italic

+
 Emphasize (italics), strongly (bold), and /very strongly/ (bold italics).
@@ -432,9 +468,9 @@ Not feas*ible*.
 

Not feas*ible*.

-
-

Monospace, superscript and subscript

-
+
+

Monospace, superscript and subscript

+

Other elements to use sparingly are:

@@ -453,21 +489,21 @@ Not feas*ible*.
 
 
-
-

Smart punctuation

-
+
+

Smart punctuation

+

If the XXX option is specified, Org mode will produce typographically correct output, converting straight quotes to curly quotes, --- to em-dashes, -- to en-dashes, and ... to ellipses.

-
-

Lists

-
+
+

Lists

+

Org markup allows you to create bulleted or numbered lists. It allows any combination of the two list types.

-
-

Unordered lists

-
+
+

Unordered lists

+

Itemized lists are marked with bullets. Create them with a minus or a plus sign.

They are convenient to organize data, and make the document prettier, and easier to read.

@@ -492,9 +528,9 @@ Not feas*ible*.
-
-

Checklists

-
+
+

Checklists

+
 - [X] Checked.
@@ -510,9 +546,9 @@ Not feas*ible*.
 
 
-
-

Ordered lists

-
+
+

Ordered lists

+

Enumerated lists are marked with numbers or letters:

@@ -550,9 +586,9 @@ Not feas*ible*.
 
 
-
-

Definition lists

-
+
+

Definition lists

+

Labeled, multi-line lists.

@@ -576,9 +612,9 @@ Not feas*ible*.
 
 
-
-

Separating lists

-
+
+

Separating lists

+

Adjacent lists sometimes like to fuse. To force the start of a new list, offset the two lists by an empty line comment:

@@ -605,14 +641,14 @@ Not feas*ible*.
 
-
-

Tables

-
+
+

Tables

+

Tables are one of the most refined areas of the Org mode syntax. They are very easy to create and to read.

-
-

Simple table

-
+
+

Simple table

+
 | Cell in column 1, row 1 | Cell in column 2, row 1 |
@@ -636,18 +672,18 @@ Not feas*ible*.
 

Org tables have cells of at most one line long: there is no such thing as a multi-line table cell in Org.

-
-

Column formatting

-
+
+

Column formatting

+

Columns are automatically aligned:

  • Number-rich columns to the right, and
  • String-rich columns to the left.
-
-

Table with aligned cells

-
+
+

Table with aligned cells

+

If you want to override the automatic alignment, use <r>, <c> or <l>.

@@ -683,13 +719,13 @@ Not feas*ible*.
 
 
-
-

Table with column size adjusted

+
+

Table with column size adjusted

-
-

Header row

-
+
+

Header row

+

You can create tables with an header row (by using an horizontal line of dashes to separate it from the rest of the table).

@@ -733,9 +769,9 @@ Not feas*ible*.
 
 
-
-

Table placement

-
+
+

Table placement

+
 #+ATTR_LATEX: :center nil
@@ -780,12 +816,12 @@ Not feas*ible*.
 
 
-
-

Align tables on the page

-
-
-

Left

-
+
+

Align tables on the page

+
+
+

Left

+

Here is a table on the left side:

@@ -825,9 +861,9 @@ Not feas*ible*.
 

The noindent just gets rid of the indentation of the first line of a paragraph which in this case is the table. The hfill adds infinite stretch after the table, so it pushes the table to the left.

-
-

Center

-
+
+

Center

+

Here is a centered table:

@@ -863,9 +899,9 @@ Not feas*ible*.
 
 
-
-

Right

-
+
+

Right

+

And here's a table on the right side:

@@ -905,9 +941,9 @@ Not feas*ible*.
 
-
-

Table size

-
+
+

Table size

+
 #+ATTR_HTML: :width 100%
@@ -931,15 +967,15 @@ Not feas*ible*.
 
 
-
-

CSV

-
+
+

CSV

+

You can fill a table from a CSV file using R commands.

-
- +
+