How do I represent code in a post

So I’m new to micro.blog and trying to figure out if it is possible to display a bit of code occasionally. A lot of platforms have a button that allows you to insert a code block, complete with a copy button. I am trying to determine if that is possible on the micro.blog platform. I have not been successful in finding guidance in help docs as yet. If there is a canonical method, I would appreciate a link.

Micro.blog allows markdown formatting so you can use the tags for displaying a code block. See the fenced code blocks section here.

Excellent and thanks!