Adding code

Type /code to get started. This will let you select Code snippet from the editor options:

You'll be able to select your coding language from the drop down, and use the left side three line indicators (that appear on hover) to drag the code snippet up or down within your doc.

Copy your code to clipboard via the overlapping square icon on the right.

You can use the three dot menu along the right of your code block to copy the anchor link (which points directly to the code block in your doc), remove wrapping, toggle width, or even delete the whole block.

Did this answer your question?