Guys, how do I embed code here in the forum?

I’m not sure, because I don’t have a preview, to see the result. Thank you :slight_smile:

You can use markdown, BBcode, etc. depending on your preferences.

Easy ways…

  • To inline a code fragment, wrap it in the ` symbol (backtick)
  • To embed a code block, wrap the whole thing in ``` (three backticks)

Unofficial documentation: An Unofficial Discourse User Reference Guide - Support - Engineering and Component Solution Forum - TechForum │ Digi-Key

1 Like

Oh and if you can’t see the preview, you maybe have to close the popups that are obscuring it? Normally it’s the right of the editing area, but various warnings can sometimes obscure it in that space space. Just “X” them away…

Thank you

1 Like