Skip to content

Factor markdown..orderedList in toggleNumberList() - #72

Open
slvrstn wants to merge 1 commit into
mdickin:masterfrom
slvrstn:master
Open

Factor markdown..orderedList in toggleNumberList()#72
slvrstn wants to merge 1 commit into
mdickin:masterfrom
slvrstn:master

Conversation

@slvrstn

@slvrstn slvrstn commented Mar 27, 2022

Copy link
Copy Markdown

I use both mdickin.markdown-shortcuts and yzhang.markdown-all-in-one extensions.
I set my Markdown › Extension › Ordered List: Marker to one so that all numbers are entered as 1. and
Markdown computes the actual numbers during rendering.
This minimizes renumbering when adding, deleting or reordering the list.
I wanted the shortcut included in this repo to take that setting into account when calling toggleNumberList()
I tested this modification with both settings of Ordered List: Marker and
also without having yzhang.markdown-all-in-one installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant