Code widgets are a SilverBullet-specific extension to Markdown. Technically, it’s not an extension — it just gives new meaning to markdown’s native fenced code blocks — code blocks that start with a triple backtick, specifying a programming language.

Currently, SilverBullet provides a few code widgets out of the box:

In addition, plugs like KaTeX and Mermaid add additional ones.