Skip to main content

Creating and highlighting code blocks

Share samples of code with fenced code blocks and enabling syntax highlighting.

Who can use this feature?

Markdown can be used in the GitHub web interface.

In this article