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

Add support for automatic hard breaks #67

Open
rambip opened this issue May 12, 2023 · 2 comments
Open

Add support for automatic hard breaks #67

rambip opened this issue May 12, 2023 · 2 comments

Comments

@rambip
Copy link

rambip commented May 12, 2023

Some very popular markdown tools (I know about obsidian.md, but it is probably not the only one) have an option to toggle true hard breaks, meaning any return character in the markdown will produce a html
tag.

It would be really nice to have that option in markdown-rs too !

@wooorm
Copy link
Owner

wooorm commented May 12, 2023

I recently discover GFM works the same way, at the syntax-level, so I think that's an okay idea.

@alex35mil
Copy link

Came to create the same issue. There's a LineEnding enum, but apparently, it's not related to parsing options, and there's no way to parse line feed into mdast::Break.

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

No branches or pull requests

3 participants