How do I share code

I do I share code in a copy/paste box such as this one?

Hello, are you doing a slideshow ? :open_mouth:

Hey @DBlank :wave:

You can use 3 of the backtick characters in a row to open the code box, and use 3 of them again to close it.

// This is a code block
const something = "nothing"
const myObj = {
  something: "one",
  nothing: "two"
}

// etc

Hope that helps!

Awesome! Thanks for your help!

1 Like