Are there any shortcuts to convert the current cell (where my cursor is) from one type to other (code cell -> Text Cell) or vice versa?
Control + M M will convert a code cell to a text cell.
Colab has two types of cells: text and code. Text cells are formatted using a simple markup language called Markdown. To see the Markdown source, double-click a text cell, showing both the Markdown source and the rendered version. Above the Markdown source there is a toolbar to assist editing.
There are two other keyboard shortcuts for running code: Alt-Enter runs the current cell and inserts a new one below. Ctrl-Enter run the current cell and enters command mode.
Control m m
will convert a code cell to a text cell. Control m y
will convert a text cell to a code cell.
The full list of keyboard shortcuts is available under 'Keyboard shortcuts' in the Tools menu.
Please check the above image and follow it. For more shortcuts follow the tools>keyboard shortcuts in google colab
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With