Line breaks / paragraphs?
See original GitHub issueHello, does this library support paragraphs? I’m using it like:
<Markdown>
# Title
Hello, world
Foo bar
</Markdown>
And it all renders on one line (in fact, as an <h1>
)
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Paragraph Break vs. Line Break - PD/GO Digital Marketing
Paragraph Break : Used to skip a line and start a new paragraph on the second line below existing text. Press "Enter" to...
Read more >Line and page breaks - Microsoft Support
Always force a page break before a paragraph · Select the paragraph that you want to follow the page break. · On the...
Read more >The Difference Between A Paragraph And A Line Break
When a line break is inserted the cursor moves down a single line, which is different from the paragraph which ends the paragraph...
Read more >Remove Line Breaks Online Tool - Text Fixer
Online tool for removing line breaks from text and html. It automatically removes line breaks and preserves paragraph breaks.
Read more >Definition and Examples of Paragraph Breaks in Prose
A paragraph break is a single line space or an indentation (or both) marking the division between one paragraph and the next in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@timwis Just FYI, I added a note about this to the README: https://github.com/yaycmyk/markdown-to-jsx/blob/master/README.md
Thanks for bringing it up - I hadn’t run into that usage style yet.
Thanks. FYI I ended up doing something similar to what the readme suggests, but without using a loader: https://github.com/CityOfPhiladelphia/carto-api-explorer/blob/master/src/components/encoded-markdown.js