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

Adding hardbreak rule #30

Merged
merged 2 commits into from Mar 28, 2018
Merged

Adding hardbreak rule #30

merged 2 commits into from Mar 28, 2018

Conversation

petrogad
Copy link

Hardbreak Rule

It looks like it just transforms to a br in HTML. I’m believe it’s an invisible character of 0x20 (based on the markdown-it lib):

Default:
https://github.com/markdown-it/markdown-it/blob/d57c83a4f1f8747c5781632291d195aa2e2154de/lib/renderer.js#L104

How it parses:
https://github.com/markdown-it/markdown-it/blob/master/lib/rules_inline/newline.js#L21

@petrogad
Copy link
Author

closes #29

@gambhiro
Copy link

I've just tested @petrogad 's branch, it works well.

@mientjan mientjan merged commit 9b8f03d into mientjan:master Mar 28, 2018
@mientjan
Copy link
Owner

Super awesome guys, thx for fixing this issue.

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.

3 participants