diff --git a/experiments/outline-editor/index.html b/experiments/outline-editor/index.html index c6d94c5..48c72fd 100755 --- a/experiments/outline-editor/index.html +++ b/experiments/outline-editor/index.html @@ -186,15 +186,15 @@ var setup = function(){ _this needs thought -- either integrate into pWiki or the other way around_ - Item templates: - collapsed:: true + - ASAP keyboard actuation (a-la checkboxes) - inline DONE - collapsed:: true + collapsed:: true - TEMPLATE text [cursor] - TEMPLATE title text [cursor] - sub-tree DONE - collapsed:: true + collapsed:: true - TEMPLATE title - text [cursor] - TEMPLATE title *boo* @@ -202,7 +202,7 @@ var setup = function(){ - TEMPLATE title [new] - text [cursor] - multi-template DONE - collapsed:: true + collapsed:: true - TEMPLATE [A] [B] [C] - aaa - bbb @@ -220,7 +220,7 @@ var setup = function(){ - action: - duplicate template text / subtree (w.o. markers) - select / place cursor at cursor marker - - TODO: + - TODO: - nested templates?? - global templates -- or should this be an external macro??? - revise syntax @@ -639,23 +639,24 @@ var setup = function(){ - ### Formatting - The formatting mostly adheres to the markdown spec with a few minor differences - - - Styles: - - Automatic Headings + - # Node styles: + - # Automatic Headings + - Heading level is determined by topology + - # Heading + - # Heading + - # Heading + - ... + - NOTE: Heading created via `@` will not show up in index. + - # Manual Headings (disabled) + collapsed:: true - @ Heading 1 - - @ Heading 2 - - @ Heading 3 - - @ Heading 4 - - @ Heading 5 - - @ Heading 6 - - Manual Headings - - # Heading 1 - - ## Heading 2 - - ### Heading 3 - - #### Heading 4 - - ##### Heading 5 - - ###### Heading 6 - - Text - - Lists:: + - @@ Heading 2 + - @@@ Heading 3 + - @@@@ Heading 4 + - @@@@@ Heading 5 + - @@@@@@ Heading 6 + - # Text + - # Lists:: - bullet: - a: collapsed:: true @@ -683,21 +684,25 @@ var setup = function(){ - y - z - c - - > quote - - Notes + - # Quoting + - > quote + - # Notes - NOTE: a note text - NOTE: - a root note can also be empty - click on the outer border to edit root - - // C-style comment - - ; ASM-style comment + - # Comments + - // C-style comment + - ; ASM-style comment - XXX Highlight - - Status (toggle all via: `alt-s`) - - DONE Done (toggled via: `alt-x`) - - REJECT Reject (toggled via: `alt-r`) - - Basic inline *bold*, _italic_ and ~striked~ - - Marking ==text== - - Code: + - # Status + - Status of any node can be toggled via: `alt-s` + - DONE Done (explicitly toggled via: `alt-x`) + - REJECT Reject (explicitly toggled via: `alt-r`) + - # Inline styles: + - Basic inline *bold*, _italic_ and ~striked~ + - Marking ==text== + - # Code: - Inline quoting `html code` - code blocks ```javascript @@ -705,34 +710,27 @@ var setup = function(){ console.log(text) ``` - - Line - - --- - - Markers: ASAP, TEST, BUG, FIX, HACK, STUB, WARNING, and CAUTION - - Basic task management - - [%] Completion status - - Inline [X] checkboxes [_] - - To do items/blocks - - [_] undone item - _(clicking the checkbox updates the item)_ - - [X] done item - - [_] we can also add inline [x] checkboxes and states: [%] - - navigating checkboxes in view mode can be done via `ctrl-left` / `ctrl-right` and toggling is done via `space` - - links + - # Line + - --- + - # Markers: + - ASAP, TEST, BUG, FIX, HACK, STUB, WARNING, and CAUTION + - # links - [link](about:blank) - [local links](#attributes) - https://example.com - ./path/to/file /path/to -- _not supported yet_ - - Tables + - # Tables - | a | b | c | | 1 | 2 | 3 | | 11 | 22 | 33 | - - Symbols -- _should these be ligatures?_ + - # Symbols + - _should these be ligatures?_ - (i), (c), /!\, ... - - -- and --- - - Table of content - - Global + - -- and --- + - # Table of content + - # Global - TOC - - Local + - # Local - toc - demo content collapsed:: true @@ -741,38 +739,52 @@ var setup = function(){ - @ Heading - @ Heading - @ Heading - - Templating: - - Inline + - # Basic task management + - [%] Completion status + - Inline [X] checkboxes [_] + - To do items/blocks + - [_] undone item + _(clicking the checkbox updates the item)_ + - [X] done item + - [_] we can also add inline [x] checkboxes and states: [%] + - Navigating checkboxes in view mode can be done via `ctrl-left` / `ctrl-right` and toggling is done via `space` + - Setting `ignore:: true` will not count the nested checkboxes + in the parent status (see child checkboxes) + collapsed:: true + ignore:: true + - [X] these [ ] checkboxes are ignored from the above summery status. + - # Templating: + - # Inline - TEMPLATE [ ] - [ ] example item - - Nested + - # Nested - TEMPLATE creates [below] - [ ] - [ ] example item - TEMPLATE^ creates [above] - [ ] - - Multiple nested + - # Multiple nested - TEMPLATE [\ASAP] [ToDo] [Note] - [ ] ASAP - [ ] - - Q: should we include button text in item??? - - Attributes: - id:: attributes - - collapsed - collapsed:: true - - a - - b - - c + - # Attributes: + id:: attributes + - collapsed + collapsed:: true + - a + - b + - c - id - id:: node-with-id - - combined + id:: node-with-id + - combined id:: combined-several-ids - collapsed:: true - - a - - b - - c + collapsed:: true + - a + - b + - c - - --- - ### Playground for testing