Add and edit code blocks
It's easy to add code blocks to the canvas of your Coda doc. You can use any of these three methods:
Type /code block into the canvas (or a canvas column) to create a new code block
Use our markdown by typing ``` to start our code block
Select existing text, then use the inline toolbar to convert text to a code block
By default, the code block will be plain text. If you’d like to add syntax highlighting use the dropdown menu in the upper right hand corner of the code block.
To change a code block back to plain text, just click on the three dots to the left of the block, then choose Remove code style.