You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i write a text string "Hello\n\nHow are you?"
I expect:
Hello
How are you?
Instead markdown-to-jsx converts it to:
Hello
How are you?
I am specifically using this with a streaming response from an AI LLM which outputs line breaks as \n and usually \n\n between paragraphs but it is markdown-to-jsx is not conserving it. If I try to replace instances of \n with < br / > tag it will create the line break properly but it will break markdown elsewhere in the output.
The text was updated successfully, but these errors were encountered:
If i write a text string "Hello\n\nHow are you?"
I expect:
Hello
How are you?
Instead markdown-to-jsx converts it to:
Hello
How are you?
I am specifically using this with a streaming response from an AI LLM which outputs line breaks as \n and usually \n\n between paragraphs but it is markdown-to-jsx is not conserving it. If I try to replace instances of \n with < br / > tag it will create the line break properly but it will break markdown elsewhere in the output.
The text was updated successfully, but these errors were encountered: