When “pasting code” you have two good options:
-
Link from GitHub (GitHub is worth learning, even just the very basics, since SmartThings now integrates with it). The Forum software automatically recognizes GitHub based links and formats appropriately, and you can then point to dynamic code instead of editing your post(s).
-
Paste the raw code into the Forum editor and surround with three back quotes – this can be done by selecting the pasted code and pressing the
</>
symbol in the editor format header bar.