Blanks lines on text component

Unless I’m missing something I cannot get an empty line to appear in markdown for the text component on mobile. I’m trying to simply have an empty line between paragraphs for readability and it appears impossible even though the GitHub markdown standard says there are multiple ways to do it. None of them work with the Retool text component for mobile. So you are either stuck with markdown with no paragraph breaks for readability or just plain vanilla text with no markdown. Unfortunate. Seems like an easy thing to support.

Hey @neilbalthaser ,

One way to get an empty line between paragraphs is to put an invisible character there so that the line is forced to render. It’s not a perfect solution because if you copy the text via it’s value you’ll include the invisible character, but for something that is read only I’ve found it’s pretty effective

@neilbalthaser if you also don't want as much white space between your line breaks, you can use the <br /> html tag instead of &nbsp;. Should give you about half the amount of line height between text.

2 Likes