Is there an option or a way to preserve the blank lines at the end? #1428
Unanswered
felixfeng33
asked this question in
Q&A
Replies: 2 comments 4 replies
-
![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
Welcome @felixfeng33! 👋
There is no streaming markdown, incomplete markdown, or invalid markdown.
What are you aiming to achieve by preserving it? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to the specification, the blank lines at the end of the document will be removed. However, due to some special use cases (related to AI streaming), I want to preserve it as much as possible.I looked through the related issues but couldn't find an answer. Thanks in advance, and I really appreciate you maintaining such a useful library!
https://spec.commonmark.org/0.29/#example-197
Beta Was this translation helpful? Give feedback.
All reactions