# How to share code or flow json

**URL:** <https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506>\
**Category:** FAQs\
**Created:** [31 May 2018 14:17 UTC](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506 "2018-05-31T14:17:30Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dclear](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dclear/32/9107_2.png) [@dclear](https://discourse.nodered.org/u/dclear)\
**Post date:** [23 June 2020 18:17 UTC](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506/7 "2020-06-23T18:17:33Z")

</div>

Just to note the advice of pasting in your code then selecting then clicking preformatted text doesn't seem to work reliably - [apparently](https://discourse.nodered.org/t/trying-to-work-out-why-not-getting-updates-for-a-particular-output-from-a-script/28810/4) it's better to click the button then paste your text into the newly created 'space'.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)._
