Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factor markdown..orderedList in toggleNumberList() #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slvrstn
Copy link

@slvrstn slvrstn commented Mar 27, 2022

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