# Need more help with text formatting

**URL:** https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466
**Category:** Dashboard
**Created:** [21 September 2023 05:15 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466 "2023-09-21T05:15:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 September 2023 05:15 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466/1 "2023-09-21T05:15:49Z")

</div>

With reference to this thread:

> [@How to put formatted Text on Dashboard](https://discourse.nodered.org/t/how-to-put-formatted-text-on-dashboard/80016/9):
>
> It really was as easy as I said. msg.payload --\> markdown node --\> template. You didnt even need to modify the markdown node or the template. flow [{"id":"f4977a3a93b687b9","type":"inject","z":"6e46a349d744ceaa","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":150,"y":360,"wires":[["21f6e9c54ce6aa06"]]},{"id":"21f6e9c54ce6aa06","type":"template","z":"6e46a349d744ce…

Sorry folks, life isn't easy and it just got more complicated for me.

That is working ok, but now I need to learn more about how to _format_ the text.

 ![Screenshot from 2023-09-21 15-11-42](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b2092e00ee9a9bbdd107e5e04856deb69356d180.jpeg)

Is (maybe) ok, but a bit messy.

Looking at the first one (`#7` specifically).  
I'm wanting the text a bit better _formatted_.

`flashing colours mean stages of overheating flashing blue cleared yellow warn orange overheat red ???`

Is a bit bad.  
What I'd prefer is something like this:

```auto
flashing colours mean stages of overheating
flashing blue cleared
yellow warning
orange overheated
red ???

```

Yeah, red is still work in progress.  
I think that means the machine has shut down..... But anyway.

How do I get the text to be like that and not just wrapping around the box size as shown?

Yeah, rookie problem. But I am a bit overwhelmed with this and other stuff.  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [21 September 2023 05:28 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466/2 "2023-09-21T05:28:05Z")

</div>

Have you tried adding `<br>` where you require new lines.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 September 2023 05:29 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466/3 "2023-09-21T05:29:35Z")

</div>

I love you @E1cid (not that way though)

I am very naive to all this stuff.

I have a basic understanding only, and even that is not really good.

I'll give it a try and get back to you.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [21 September 2023 06:18 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466/4 "2023-09-21T06:18:36Z")

</div>

{{hugs}} Thanks.

---

<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: [5 October 2023 06:19 UTC](https://discourse.nodered.org/t/need-more-help-with-text-formatting/81466/5 "2023-10-05T06:19:11Z")

</div>

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