- # Outline editor prototype
  - An outline-based markdown editor experiment
  - ### Infuences::
    - Logseq
	- Tomboy
	- Bonsai
  - 
- ## Bugs:
  - BUG: ASAP: editor: `-` at start of line is interpreted as block marker...
  - BUG? pressing down from a longer line will jump over a shorter line
    - here is the line to jump from, for example from here
      an we'll not get here...
- ## ToDo:
  - ASAP: editor: bksapce/del at start/end of a block should join it with prev/next
  - ASAP: editor: pressing enter in text edit mode should split text into two blocks
  - ASAP: editor: shifting nodes up/down
  - ASAP: use \\t for indent...
  - ASAP: scroll into view is bad...
  - on item click, place the cursor where it was clicked before the code expanded...
  - ~editor: semi-live update styles~
  - need to reach checkboxes via keyboard
  - persistent empty first/last node (a button to create a new node)
  - add completion percentage to blocks with todo's nested
    - _...use `[%]`, `%%`, or something similar..._
  - read-only mode
  - should bulets be on the same level as nodes or offset??
    - A) justified to bulet:
         * list item
         * list item
         block text
    - B) justified to text _(current)_:
         * list item
         * list item
           block text
    - NOTE: this is only a problem if making list-items manually -- disable???
  - ~do a better expand/collapse icons~
  - ~loading from DOM -- fill textarea~
  - ~focus management~
  - ~mouse/touch controls~
  - ~navigation~
  - ~expand/collapse subtree~
  - ~shift subtree up/down~
  - ~create node~
  - ~edit node~
  - multiple node selection
  - copy/paste nodes/trees
  - undo 
    collapsed:: true
    - delete node
    - indent/deindent
    - edit node
  - empty item height is a bit off...
  - ~serialize/deserialize~
  - ~add optional text styling to nodes~
  - 
- ## TEST
  - ### Formatting:
    - Styles
      - # Heading 1
      - ## Heading 2
      - ### Heading 3
      - #### Heading 4
      - ##### Heading 5
      - ###### Heading 6
      - Text
      - Lists::
        - bullet:
          - a:
            collapsed:: true
            - bullets:
              - in:
                - very:
                  - deep:
                    - list:
                      - of:
                        - items:
          - b
          - c
        - numbered#
          - a
          - b#
            - x#
              collapsed:: true
              - bullets#
                - in#
                  - very#
                    - deep#
                      - list#
                        - of#
                          - items#
            - y
            - z
          - c
	  - > 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
	  - XXX Highlight
    - Basic inline *bold*, _italic_ and ~striked~
    - Marking ==text==
    - Code
	  - Inline quoting `html code`
      - code blocks
        ```
        var text = 'Hello, world!'
        console.log(text)
        ```
        _syntax higlighting not yet supported..._
	- Line
		- ---
	- Markers: ASAP, BUG, FIX, HACK, STUB, WARNING, and CAUTION 
    - Basic task management
      - 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
	- links
      - [example](about:blank)
      - https://example.com
      - ./path/to/file /path/to -- _not supported yet_
    - Tables
      - | a | b | c |
        | 1 | 2 | 3 |
        | 11 | 22 | 33 |
    - Symbols -- _should these be ligatures?_
      - (i), (c), /!\, ...
      - -- and ---
    - 
  - ---
  - ### Playground for testing
    - A
      collapsed:: true
      - a
      - b
      - c
    - B
      - d
      - e
    - C
      - This is a line of text
      - This is a set
        text lines
      - Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text Lots of text