HOW TO PASTE CODE ON THIS FORUM

EvilDragon
EvilDragon Moderator Posts: 1,021 mod
edited March 2022 in Scripting Workshop

When discussing about code, you might want to paste some code in. Here's how to get it formatted nicely.

  • First, paste your code as regular text
  • Then, select the whole code you have just pasted
  • On the side, there will be a paragraph symbol (¶), click it
  • Then press the quotation button, then select Code Block option
  • Voila!

For inline code mentions, like variable names, quick one-liners interspersed with the rest of the text (like this: declare $i), select the text then choose the {...} button. Like so:


This discussion has been closed.
Back To Top