# Load a mustache template from file with read node and then inject data in it by a function node

**URL:** <https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702>\
**Category:** General\
**Created:** [11 March 2022 11:09 UTC](https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702 "2022-03-11T11:09:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 March 2022 12:22 UTC](https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702/6 "2022-03-11T12:22:31Z")

</div>

Your flow is usable

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/load-a-mustache-template-from-file-with-read-node-and-then-inject-data-in-it-by-a-function-node/59702)._
