Basic
Inline Code
To denote aword or phrase as code, enclose it in backticks (`).
Code Block
Use fenced code blocks by enclosing code in three backticks.Syntax Highlighting
Put the name of your programming language after the three backticks to get syntax highlighting. We use Prism for syntax highlighting.Names
You can add more text after the programming language to set the name of your code example. The name appears at the top of the code block.Example
Code Groups
Want to display multiple code examples side by side? Use theCodeGroup component.