# How to add a new line By using Setting-Variables-Constant

**URL:** <https://community.grafana.com/t/how-to-add-a-new-line-by-using-setting-variables-constant/71485>\
**Category:** Dashboards\
**Created:** [August 31, 2022, 2:14am UTC](https://community.grafana.com/t/how-to-add-a-new-line-by-using-setting-variables-constant/71485 "2022-08-31T02:14:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nopa607](https://avatars.discourse-cdn.com/v4/letter/n/c37758/32.png) [@nopa607](https://community.grafana.com/u/nopa607)\
**Post date:** [August 31, 2022, 2:14am UTC](https://community.grafana.com/t/how-to-add-a-new-line-by-using-setting-variables-constant/71485/1 "2022-08-31T02:14:31Z")

</div>

- What Grafana version and what operating system are you using?

- **What** are you trying to achieve?

i try to add a new line by \n , \r\n or \<br\> ,but in Text panel, when i use ${text}, they can not work.  
can gafana make it ?

---

<div class="post-metadata">

**Author:** ![anon70503803](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@anon70503803](https://community.grafana.com/u/anon70503803)\
**Post date:** [September 28, 2022, 2:12am UTC](https://community.grafana.com/t/how-to-add-a-new-line-by-using-setting-variables-constant/71485/2 "2022-09-28T02:12:22Z")

</div>

do you have a sample setup that you can share so we can try and mock it up? thx!

---

<div class="post-metadata">

**Author:** ![nopa607](https://avatars.discourse-cdn.com/v4/letter/n/c37758/32.png) [@nopa607](https://community.grafana.com/u/nopa607)\
**Post date:** [October 9, 2022, 3:11am UTC](https://community.grafana.com/t/how-to-add-a-new-line-by-using-setting-variables-constant/71485/3 "2022-10-09T03:11:53Z")

</div>

thanks for you reply.  
the action i want to do is using the setting-variables to figure out the repeated text.

for example, i have some same text in different text dashboards, and how to solve the problem when i need to alter all the text in different dashboard in one times? then i try to use the setting-variables.  
i use ${text} in text panel to quote the same variable in different panels. but it can not work good enough because of the HTML and MARKDOWN format apperence.
