# Line breaks for DocsAutomator

**URL:** <https://community.glideapps.com/t/line-breaks-for-docsautomator/82536>\
**Category:** Ask for Help\
**Created:** [June 16, 2025, 9:06pm UTC](https://community.glideapps.com/t/line-breaks-for-docsautomator/82536 "2025-06-16T21:06:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rupert](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rupert/32/44178_2.png) [@Rupert](https://community.glideapps.com/u/Rupert)\
**Post date:** [June 16, 2025, 9:06pm UTC](https://community.glideapps.com/t/line-breaks-for-docsautomator/82536/1 "2025-06-16T21:06:40Z")

</div>

A DocsAutomator user wants to add text and separate items with line breaks. The text needs to be dynamic: Depending on the availability of data, it can be any number of items up to 10.

How would you approach this? Using a rich text field, line breaks are preserved, but I don’t know how to construct the text dynamically. I’ve tried \n in joined lists, if else fields etc., but \n seems to get escaped. I do have a working version with JSON and \n, but also don’t know how to construct it dynamically.

Would love someone’s help on this! 🙏

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 16, 2025, 9:33pm UTC](https://community.glideapps.com/t/line-breaks-for-docsautomator/82536/2 "2025-06-16T21:33:37Z")

</div>

Can you use a Joined List with a carriage return (Enter key) as the separator? I seem to remember something with two spaces and a carriage return working better in some cases. Or do you except html, so maybe using `<br>` or `<p>`?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 16, 2025, 11:56pm UTC](https://community.glideapps.com/t/line-breaks-for-docsautomator/82536/3 "2025-06-16T23:56:59Z")

</div>

I think carriage return should work, or you can use br for HTML.

In Glide, if you know in advance how many characters you want to repeat, there’s a “repeat text” column.

So it goes like:

- Original column with something like {blockOfLineBreaks}.
- Repeat text column to repeat as many line breaks as needed.
- Template column to replace {blockOfLineBreaks} with the repeat text value.
