Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Re: Line break in Rich Text Field

2174 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Alastair_Budge1
6 - Interface Innovator
6 - Interface Innovator

I’m trying to get the content from a rich text element in Airtable, transform it via Integromat from Markdown to HTML (using the Markdown to HTML module) and then post the HTML.

I can’t get line breaks to work in my Rich Text Field properly in Airtable.

I’ve tried:

  • using a
    , but this breaks the final result
  • using GitHub flavoured markdown (doesn’t seem to be recognised).
  • and of course, just entering multiple line breaks doesn’t mean these line breaks are sent by the Airtable API.

Does anyone have a solution on how to deal with this?

thanks in advance.

5 Replies 5

Can you post screen shots of the rich text field value, the resulting html, and the app you are using for the conversion.

Sure.

Screenshot:
Screenshot 2021-05-30 at 17.14.03

Resulting HTML:

<p>Hi everyone 👋</p>
<p>Welcome to Day 1 of the June Vocabulary Builder Challenge. I hope you are feeling excited about it...</p>
<p>Here&#39;s a quick reminder of how it works. </p>
<ul>
<li>For each task, there will be 10 words or expressions</li>
<li>Definitions will be provided for all of them (in English)</li>
<li>All you need to do is write a maximum 250-word piece that includes all of them <em>at least</em> once</li>
<li>There will be 1 task every 3 days, posted at midnight CEST (Paris/Rome), and you need to complete it within 3 days</li>
<li>That&#39;s it!<br>⋅</li>
</ul>
<p>You can read some of the tips for success <a href="https://community.leonardoenglish.com/c/june-vocabulary-builder-challenge/tips-for-challenge-success">here</a>.<br> ⋅<br>OK, without further ado, here are the 10 unusual words/phrases for Task 1.<br> ⋅</p>
<ol>
<li><strong>Cotton on</strong>: start to understand, </li>
<li><strong>Intrinsic</strong>: belonging naturally, essentially, </li>
<li><strong>Vehemently</strong>: very strongly, </li>
<li><strong>Albeit</strong>: though, </li>
<li><strong>Impeccable</strong>: without fault, with very high standards, </li>
<li><strong>Take the plunge</strong>: to finally start doing something, </li>
<li><strong>By all accounts</strong>: from what people are saying, </li>
<li><strong>No mean feat</strong>: not easy, </li>
<li><strong>Day in day out</strong>: every day, </li>
<li><strong>Few and far between</strong>: not happening frequently</li>
</ol>

Thank you for the screen shots. The html looks normal to me. Where are the line break problems?

I would like there to be a <br> between the paragraphs, but there is only <p></p>

I would like there to be line breaks between the paragraphs, like in the Rich Text Field.

The standard method of converting markdown to HTML is to create

tags, not
tags. You will not be able to add
tags using this converting engine. You can try to find a different markdown to HTML conversion engine.

If you just want more space between the paragraphs, you can adjust the spacing using CSS.