question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Line breaks / paragraphs?

See original GitHub issue

Hello, 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:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
probablyupcommented, Mar 1, 2017

@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.

0reactions
timwiscommented, Mar 1, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found