**Try it out: **insert a Javascript block by typing or ** **on the line below (has to be on an empty line):
Then try typing in some Javascript code in the block you inserted. It'll be properly syntaxed like:
var str = "Hello World";
*Bonus: use the shortcut method to insert a css code block
You can insert a code block via the syntax dropdown on the toolbar. It also supports auto-suggest. Try it out: Highlight then** **syntax the line of code below to Javascript using use the toolbar:
var str = "Hello World";
*Bonus: click on the </> icon to insert the currently selected block
To exit a code block, use the shortcut Ctrl + Enter (Cmd + Enter on Mac) to insert an unstyled line. Try it out: Exit out of the code block below using the shortcut:
//focus on me, then use shortcut Ctrl + Enter
*Bonus: try using the ctrl + i shortcut (cmd + i for Mac) or the eraser tool in the toolbar to unsyntax the code block