Create a new code cell.
The options used to create the cell.
A new code cell. If a source cell is provided, the new cell will be initialized with the data from the source.
Create a new raw cell.
The options used to create the cell.
A new raw cell. If a source cell is provided, the new cell will be initialized with the data from the source.
A model factory for a console widget.