You can write snippets of code, code blocks, and other text in a fixed-width font using standard Markdown formatting. Zulip also has [syntax highlighting](/help/code-blocks#language-tagging) and supports configuring custom [code playgrounds](/help/code-blocks#code-playgrounds).