| | |
| | | - Line :: Main component of Block |
| | | - Code :: Contains text and language |
| | | - Heading :: Contains level and words |
| | | - List :: Contains level, number and words |
| | | - List :: Contains level, number and words. If number=0, list is unordered |
| | | - Word :: Token of text |
| | | - Text :: String single word |
| | | - MathDisp :: Display level math |
| | |
| | | - Link :: Link to other place, containing link text and link destination |
| | | |
| | | Document: Block* |
| | | Block: Table | Line* | Code |
| | | Block: Table | Word* | Code |
| | | Table: Word* (2d array) |
| | | Code: Straight strings |
| | | Line: Heading | List | Word* | MathDisp |
| | | Word: MathInline | Link | Format |
| | | Format: Bold | Italic | Verbatim | Text |
| | | # Line: Heading | List | Word* | MathDisp |
| | | Word: MathInline | Link | Format | Heading | List | MathDisp |
| | | Format: Bold | Italic | Verbatim | Text | Underline | Strikethrough |
| | | Italic: Format |
| | | Bold: Format |
| | | Verbatim: Format |
| | |
| | | Heading: Word* |
| | | List: Word* |
| | | |
| | | |
| | | * Language features and syntax |
| | | ** Org |
| | | *** Document |
| | |
| | | Italic is between ~/ /~. |
| | | Bold is between ~* *~. |
| | | Verbatim is between ~\~ \~~. |
| | | Strikethrough is ~+ +~. |
| | | Underline is ~_ _~. |
| | | *** Link |
| | | Links are ~[[destination][text]]~. |
| | | *** Comments |