This demonstrates using the code-block tag plus prism for syntax highlighting.
code-block
Note that the example also uses @substrate-system/a11y to hide the text label for the copy button.
@substrate-system/a11y