Use the /code command to get started with adding code snippets into your docs.
For example :)This is how the code block will look.
If you like Markdown, you can also surround your text with three backticks.
Add a caption...
Choosing your language
You'll be able to select your coding language from the drop down menu along the right of the code block menu.
You can scroll down to see more languages!
Code block options
You'll find 3 options in the inline menu for your code block:
Copy code to clipboard
Enable Wrapping code, rather than side-to-side scrolling
Format code, to make indentation uniform and remove unnecessary spaces
Add a caption...
Moving, expanding, copying, and deleting
You'll also have the four-dot menu to the left of your code block that can be used to drag and drop the block within your doc, copy its anchor link to this spot in the doc, or delete.
< - > Finally, the directional arrow icon lets you expand the block to full-width to work in a bigger space.