gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.86k stars 370 forks source link

Nested outline support in Markdown #582

Closed frozencemetery closed 5 years ago

frozencemetery commented 5 years ago

General information

Description

By way of background: markdown has support for nesting bulleted and numbered lists, like so:

  1. thing1
    1. subthing1
  2. thing2

which can of course be combined with each other. So:

p6 - Resolving the above would make Markor usable for outlining, which I would personally appreciate, and for numeric outlining when pared with #193. I expect the org-mode folks will also want this capability eventually (#182) - at least, I use layered indents in org on the desktop a lot.

gsantner commented 5 years ago

@frozencemetery Did some improvements to code highlighter. It won't match anymore now in these cases:

frozencemetery commented 5 years ago

Sorry, open where (p3-p4)? I didn't see issues (which is why I filed this).

For p5, I don't personally consider buttons for "insert four spaces at line start" and "delete four spaces at line start" heavyweight. I'm not a UI expert so I thought it might help to have something to compare to; clearly I was mistaken.

gsantner commented 5 years ago

193 #336 e.g. are related to this, and likely will resolve some stuff you mentioned.