-
Notifications
You must be signed in to change notification settings - Fork 823
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
Squish whitespace in Markdown
#4324
Conversation
Will this have any impact on code blocks, where you wouldn't want whitespace collapsed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left two comments for your consideration but none of them are blocking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion re regexes
Co-authored-by: Rodrigo Girão Serrão <[email protected]>
Seems we're happy that \s along won't be too greedy.
Collapse whitespace within the text of a markdown document when displaying it with
Markdown
. With this change multiple concurrent instances of space and tab are collapsed down to a single space.Implements #4321.