wooorm / markdown-rs

CommonMark compliant markdown parser in Rust with ASTs and extensions
https://docs.rs/markdown/1.0.0-alpha.18/markdown/
MIT License
836 stars 41 forks source link

Add support for automatic hard breaks #67

Open rambip opened 1 year ago

rambip commented 1 year ago

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 commented 1 year ago

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