Users can edit and execute any valid Python in a code cell.
Code cells can optionally have Outputs, which are visualizations of elements from the code.
Markdown cells allow you to easily create richly-formatted text.
We use the Commonmark Markdown renderer - if you need help getting started with Markdown we recommend checking out their reference and tutorial.​
You can convert a cell from a Code to a Markdown cell and vice-versa using the dropdown in the upper right.
Or use keyboard shortcuts to convert between cell types:
Go from Code to Markdown cells with esc + m
Go from Markdown to Code cells with esc + y
​