Joel Grunbaum
2021-08-12 e8ea5e907ca1fb359d5dd342e505a78bab42d879
spec.org
@@ -7,7 +7,7 @@
- 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
@@ -18,12 +18,12 @@
- 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
@@ -31,6 +31,7 @@
Heading: Word*
List: Word*
* Language features and syntax
** Org
*** Document
@@ -60,6 +61,8 @@
Italic is between ~/ /~.
Bold is between ~* *~.
Verbatim is between ~\~ \~~.
Strikethrough is ~+ +~.
Underline is ~_ _~.
*** Link
Links are ~[[destination][text]]~.
*** Comments