brainstorm: plaintext note content hierarchy via indentationI more and more like the idea of hierarchical notes via pythonic indentation
with 2 spaces instead of 4, for compactness
minimal yet very readable in code editor set to show whitespace and fixed width font
problem: markdown and asciidoc use space/tab indentation for other things
markdown treats 4 indentation spaces as a code block
markdown collapses e.g. 3 or 14 spaces to no indentation
https://stackoverflo...-help#advanced-lists https://stackoverflo...ab-space-in-markdown https://asciidoctor....tax-quick-reference/Any ideas/workarounds on using such compact pythonic indentation effectively in markdown based notes apps/systems?
Comparison examples1. pythonic indentation (2 spaces)
Note: markdown collapses these indents and shows all on one line if not two suffix spaces.
Sun
big
hot
bright
https://en.wikipedia...rg/wiki/Sun#Sunlight2. Markdown nested list
- Sun
- big
- hot
- bright
-
https://en.wikipedia...rg/wiki/Sun#Sunlight3. Markdown nested list alternating bullet characters (more compact, but still extra characters)
- Sun
+ big
+ hot
+ bright
-
https://en.wikipedia...rg/wiki/Sun#SunlightExamples screenshot from VS Code with raw and preview tabsI'm thinking of going primitive, with discursion into zettelkastenWishes unlikely to come trueI wish markdown by default rendered indentation as indentation! For code blocks there is already the three fence ``` prefix/suffix.
I even wish that minus - and plus + at line start (with/without indentation) defaulted to
not be interpreted as bullet point list formatting. They should function as list formatting characters only when preceded by a line prefixed with some other character that would start a list. For example a dot . character.