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
I am reaching out regarding the use of markdown components. I have encountered an issue , Despite including double line breaks in my text, the actual line break is not displayed in the HTML output.
Could you please provide guidance on how to effectively create line breaks between inputs using markdown components? Any assistance or insights on resolving this matter would be greatly appreciated.
Input
<Markdown>
line1
line2
</Markdown>
Output HTML <p>line1 line2</p>
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
Please see the code snippet above
To Reproduce
Please see the code snippet above
Expected Behavior
Output HTML
<p>line1</p>
<p>line2</p>
What's your node version? (if relevant)
v20.11.1
The text was updated successfully, but these errors were encountered:
thanks! I figured out I shouldn't directly type markdown text in the tag, but should wrap them in a string, so that line breaks will not be remove by jsx compiler.
Describe the Bug
I am reaching out regarding the use of markdown components. I have encountered an issue , Despite including double line breaks in my text, the actual line break is not displayed in the HTML output.
Could you please provide guidance on how to effectively create line breaks between inputs using markdown components? Any assistance or insights on resolving this matter would be greatly appreciated.
Input
Output HTML
<p>line1 line2</p>
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
Please see the code snippet above
To Reproduce
Please see the code snippet above
Expected Behavior
Output HTML
What's your node version? (if relevant)
v20.11.1
The text was updated successfully, but these errors were encountered: