# 3 lines in Notification node

**URL:** <https://discourse.nodered.org/t/3-lines-in-notification-node/33548>\
**Category:** Dashboard\
**Created:** [30 September 2020 08:46 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548 "2020-09-30T08:46:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ki-va](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ki-va/32/22283_2.png) [@Ki-va](https://discourse.nodered.org/u/Ki-va)\
**Post date:** [30 September 2020 08:46 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/1 "2020-09-30T08:46:08Z")

</div>

hi,  
i'm trying to write a Dashboard Notification node with 3 lines in it (not including the msg.topic)  
I wrote a simple Template node with 3 lines but I'm unable to infuse it into the Notification node.  
I also want to be able to do the same with the Email node.  
And I want in align the text to the center (and not as the default Left align .)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [30 September 2020 09:47 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/2 "2020-09-30T09:47:31Z")

</div>

did you notice this option in the node configuration??  
 ![Screen Shot 2020-09-30 at 5.46.43 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/1/01dca9377ef6c307347998a140a026caf4f4a09c.png)

---

<div class="post-metadata">

**Author:** ![Ki-va](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ki-va/32/22283_2.png) [@Ki-va](https://discourse.nodered.org/u/Ki-va)\
**Post date:** [1 October 2020 10:38 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/3 "2020-10-01T10:38:57Z")

</div>

yes i saw it. what is the syntext of the msg.payload?  
how do i add the HTML commands in it?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [1 October 2020 10:45 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/4 "2020-10-01T10:45:11Z")

</div>

Well one way would be to use an inject node and set msg.payload as a string. Then put your html code in the string.

For example if you set msg.payload to ‘helloworld’ it should show as

Hello  
World

---

<div class="post-metadata">

**Author:** ![Ki-va](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ki-va/32/22283_2.png) [@Ki-va](https://discourse.nodered.org/u/Ki-va)\
**Post date:** [1 October 2020 11:05 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/5 "2020-10-01T11:05:33Z")

</div>

thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 October 2020 11:05 UTC](https://discourse.nodered.org/t/3-lines-in-notification-node/33548/6 "2020-10-15T11:05:40Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
