react-native-simple-markdown
react-native-simple-markdown copied to clipboard
Insert blank line?
I'm unable to insert a blank line in my markdown.
I've read through all the issues here, and have tried \n\n
followed by two spaces and every other possible combination it seems, but nothing works for me.
Here's what I currently have:
**Title**\nThe blurb\n\n **Second title**\n\nSecond blurb
I want to insert a blank line between "The Blurb" and "Second title", but it always renders like so:
I had the same problem. Overwriting the default paragraph style solved the issue for me.
<Markdown
styles={{
paragraph: {
flexWrap: 'wrap',
flexDirection: 'row',
alignItems: 'flex-start',
justifyContent: 'flex-start',
marginBottom: 32,
},
}}
>
{content}
</Markdown>
@marvinernst Thanks a lot man! That solved my issue