From cfdd43c15e3cbd5cd62a9fd44d691496a74f38a3 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Tue, 3 Sep 2024 13:06:53 +0200 Subject: [PATCH] docs(spec-2.0): add syntax reference --- 2.0-specification.norg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/2.0-specification.norg b/2.0-specification.norg index be5bb42..4564f18 100644 --- a/2.0-specification.norg +++ b/2.0-specification.norg @@ -51,6 +51,17 @@ version: 2.0 from external note-taking plugins to even messaging services through {* layers}, a pay-for-what-you-use system that allows for selecting syntax relevant to a given application. +* Notation + + Syntax is described using the following notation: + - Special syntax is wrapped in `<>` characters. For example: ``. + - Obligatory whitespace (one or more) is denoted as a single space. + - Obligatory newlines (one or more) are denoted as a single newline character. + + Examples: + - `<special> <title>` - some special character, one or more whitespace, then a title. + - %TODO: Expand% + * Concepts This chapter defines the fundamental concepts of the Norg format, upon which other syntax elements build upon.