Continue, indent and outdent markdown lists, intelligently changing marker styles based on the rest of the document and user settings.
- Continue numbered and unnumbered markdown lists by pressing
Enterat the end. - Pressing
Enteron empty list item reduces list level by one (changemarkdown-clever-lists.blankListItemBehaviourto disable this behaviour). Ctrl+]andCtrl+[indents and outdents.- Marker styles are kept consistent across levels.
- Marker styles are guessed from the rest of the document, with configurable defaults.
- Supported styles:
-,*,+,1.,1), checkboxes (e.g.- [ ]) - Subsequent numbered lists are updated to keep them consistent
This extension contributes the following settings:
markdown-clever-lists.blankListItemBehaviour: Set the behaviour when pressingEnteron blank list items.markdown-clever-lists.defaultMarkers: Configure the default list marker structure.markdown-clever-lists.autoNumbering: Whether to update the numbers of subsequent list items when indenting, outdenting or continuing a list
- Assumes that the list marker structure follows the tab size. Indenting and outdenting shifts the indentation level by the tab size, and selects the most appropriate marker for that tab size.
- Indenting and outdenting is done with
Ctrl+]andCtrl+[(orCmdon Mac). If you have different keybindings for indenting and outdenting you'll need to change these too. Indenting by pressingTabon selected text is not supported.
- Markdown All in One has support for continuing lists, indenting and outdenting (and much more), but without changing marker styles automatically
- Markdown Continue
allows continuing lists by pressing
Enter, but has not indent or outdent functionality.
MIT License.
- Subsequent numbered list items update when indenting, de-denting or adding a new item
- Fixed a bug where indenting or de-denting on the first line of the document caused an uncaught error
- Fix numbered lists not continuing correctly when there is a sub-list
Initial release.
