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

Fix automatic list level repeat #17

Open
wants to merge 2 commits into
base: master
from

Conversation

@level420
Copy link

@level420 level420 commented Feb 5, 2020

When having an input line like *** *something bold* and hitting return, the automatic repeat item level insertion fails, due to a to simple regex which counts every occurance of a *, leading to additional stars added to the beginning of the next line.

This PR solves this by only matching consecutive stars and sharps.

level420 added 2 commits Feb 5, 2020
When having an input line like `*** *something bold*` and hitting return, the automatic repeat item level insertion fails, due to a to simple regex which counts every occurance of a `*`, leading to additional stars added to the beginning of the next line.

This PR solves this by only matching consecutive stars and sharps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.