# Template node - Add JSONata syntax highlighting and formatting

**URL:** <https://discourse.nodered.org/t/template-node-add-jsonata-syntax-highlighting-and-formatting/101155>\
**Category:** Feature Requests\
**Created:** [29 May 2026 07:45 UTC](https://discourse.nodered.org/t/template-node-add-jsonata-syntax-highlighting-and-formatting/101155 "2026-05-29T07:45:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher-lambe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christopher-lambe/32/69369_2.png) [@christopher-lambe](https://discourse.nodered.org/u/christopher-lambe)\
**Post date:** [29 May 2026 07:45 UTC](https://discourse.nodered.org/t/template-node-add-jsonata-syntax-highlighting-and-formatting/101155/1 "2026-05-29T07:45:05Z")

</div>

JSONata is becoming more popular and I am using lately a lot to clean the JSON outputs of OData and LLM structured JSON outputs.

I keep the JSONata in the template node for easy access and I noticed it cannot be syntax highlighted or formatted there like it can in the JSONata expression editor.

How about adding JSONata syntax highlighting and formatting to the template node?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/a/4a5b12b74b8b59d5cfc89e9fbdb455e8726a3260.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/83e0647c321b83e50df6a48d706b2b60f9ccbe06.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/ba4c276eef0ca57bc0bda38e8577372b17376ffc.png)

---

<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:** [28 July 2026 07:45 UTC](https://discourse.nodered.org/t/template-node-add-jsonata-syntax-highlighting-and-formatting/101155/2 "2026-07-28T07:45:58Z")

</div>

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