You can render blocks of code like func with two backquotes, like \`\`func\`\`.