Wildcard for autoformat rules #3422
Closed
yf-yang
started this conversation in
Feature Requests
Replies: 1 comment
-
Sounds good! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This proposal is specifically for one case: auto format ordered list with numbers > 1.
Currently, only 1. is matched. However, when user has built a long list, they may need auto format starting with an arbitrary number. Therefore, a matcher like "\d+\. " instead of "1. " is needed.
Implementation
I'm considering add a
matchRegex
option or whatever togetPointBeforeLocation
andautoformatBlock
. Not sure ifautoformatMark
andautoformatText
should support it.Beta Was this translation helpful? Give feedback.
All reactions