Save the date! Join us on October 16 for our Product Ops launch event. Register here.
May 30, 2021 07:45 AM
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:
Does anyone have a solution on how to deal with this?
thanks in advance.
May 30, 2021 07:59 AM
Can you post screen shots of the rich text field value, the resulting html, and the app you are using for the conversion.
May 30, 2021 08:15 AM
Sure.
Screenshot:
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'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'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>
May 30, 2021 08:19 AM
Thank you for the screen shots. The html looks normal to me. Where are the line break problems?
May 30, 2021 08:23 AM
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.
May 30, 2021 11:22 AM
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.