scoavoux / PandocTools

Sublime Text 3 package for pandoc markdown academic writing.
2 stars 0 forks source link

newline in nested list #19

Open scoavoux opened 8 years ago

scoavoux commented 8 years ago

Currently, enter produces a new line starting with a list marker if pressed on a line that is in a level-1, not-indented list; In a nested list, however, It doesn't produce anything.

Behavior should be changed to continue nested list on newline (ie insert a newline with the same indentation as the first, and the same first character.

A way to decrease indentation and return to the parent list could also be provided. Either alt+tab (since tab may be used to indent a list) ; or maybe pressing return on a nested list produces a parent list element (since pressing return on a level-1 list removes the empty list item and adds an empty line to start a new paragraph.