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

Is there a way to preserve successives linebreaks ? #575

Open
imGok opened this issue Jan 19, 2024 · 2 comments
Open

Is there a way to preserve successives linebreaks ? #575

imGok opened this issue Jan 19, 2024 · 2 comments
Labels
type-question A question about expected behavior or functionality

Comments

@imGok
Copy link

imGok commented Jan 19, 2024

Hi, I'm using the library in my app and I noticed multiple linebreaks in a row are replaced by 1 (br tag).
Is there a way to keep the amount of linebreak after the markdown ?
image

Thank you

@srawlins
Copy link
Member

I'm not sure if there is a way. You can look over the CommonMark specification for the rules. Maybe something in Hard Line Breaks: https://spec.commonmark.org/0.30/#hard-line-breaks

@srawlins srawlins added the type-question A question about expected behavior or functionality label Jan 19, 2024
@imGok
Copy link
Author

imGok commented Jan 22, 2024

Thank you for your answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-question A question about expected behavior or functionality
Projects
None yet
Development

No branches or pull requests

2 participants