# How to write inject in a function

**URL:** <https://discourse.nodered.org/t/how-to-write-inject-in-a-function/82091>\
**Category:** General\
**Created:** [16 October 2023 20:06 UTC](https://discourse.nodered.org/t/how-to-write-inject-in-a-function/82091 "2023-10-16T20:06:25Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 October 2023 21:13 UTC](https://discourse.nodered.org/t/how-to-write-inject-in-a-function/82091/12 "2023-10-16T21:13:07Z")

</div>

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/how-to-write-inject-in-a-function/82091)._
