# Line break

**URL:** <https://community.glideapps.com/t/line-break/44389>\
**Category:** Ask for Help\
**Created:** [July 13, 2022, 8:52am UTC](https://community.glideapps.com/t/line-break/44389 "2022-07-13T08:52:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Test\_Test](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/test_test/32/30930_2.png) [@Test\_Test](https://community.glideapps.com/u/Test_Test)\
**Post date:** [July 13, 2022, 8:52am UTC](https://community.glideapps.com/t/line-break/44389/1 "2022-07-13T08:52:33Z")

</div>

Hi all,  
I’ve read several posts about line break, markdown, etc. I’m sure I’ve seen the answer here in the past, but cannot find it now.  
When building a template, we don’t always know if we would populate all mapped items. How can we add line breaks into the mapped value, so that we won’t get extra line breaks when the said mapped value isn’t populated?  
Here’s an example:  
Let’s assume we’d like to reach a template output of:

> first  
> third

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/b/8ba17119437809c6ff53eeabdc6bd7a036ae4d48.png)

Here’s what happen when we don’t have any value at column “2”.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/4/d41f44a87d3a9cdcb2921c91f5eaa32e0a5684da.png)

As you can see, we have an extra blank line which represents the missing mapped value of “2”.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/0/302f78dfbfa2a21266368aac23aa9d3b711bc4fe.png)

I seem to recall the solution being something like this:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/8/e898ac9fa53e6e033ca64768d3afae59d72c69a3.png)

But when I try to add the line break (\n), it’s not treated as a line break.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/d/9dfd79e5115b9e03e2a36d50431cabd570349d80.png)

Tried “Rich Text” component and still no joy:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/c/ecf656ff0e6d6cf50cb910bfbdeb10ab54ea23d9.png)

Also tried a rich text column  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/b/1be4e4989d3ab5cd9e666966995b62d6c57e7b27.png)

Same result:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/9/690d725ff15edee054d23dcd89365703b14ddb29.png)

What am I missing?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 13, 2022, 8:57am UTC](https://community.glideapps.com/t/line-break/44389/2 "2022-07-13T08:57:18Z")

</div>

I think what I would do is:

- First create an array of the columns involved using a MakeArray column.
- Then create a joined list from the MakeArray column, using a new line as a separator
- And then use that joined list in place of your template column.

---

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [July 13, 2022, 1:13pm UTC](https://community.glideapps.com/t/line-break/44389/3 "2022-07-13T13:13:53Z")

</div>

Clever!
