Datalore Help

Markdown cells

Markdown cells allow you to write plain text and format it using the Markdown syntax rules. This type of cells also supports standard LaTex notation so you can include mathematical symbols in your text. Markdown cells usually serve as explanatory or descriptive texts to your code.

First Markdown cell

By default, the first cell in a notebook is a code cell. If you want to begin with a Markdown cell, change the cell type. There are three ways:

  • Press Ctrl + M.

  • Click the Select cell language icon on the cell toolbar and select Convert to markdown.

Add a Markdown cell

You have two options:

  • Hover over the bottom border of a cell and select More cell types | Markdown cell.

  • Click the ellipsis on the cell toolbar or right-click anywhere in the editor to select whether you want to insert a Markdown cell above or below the selected one from the cell menu.

Markdown cell output and view

Depending on the output, you can have rich text or mathematics for Markdown cell output. By default, the layout of a Markdown cell displays both its input and output vertically stacked. You can select how they are displayed.

Markdown cell
Go to Main menu | View and try different options. For more information, see Editor view

Markdown cell toolbar

Located in the upper-right corner of the cell frame, the toolbar contains the following icons:

  • Change cell visibility: allows to control which cell parts other users can see.

  • Insert code cell below: inserts a new code cell below the selected one.

  • Select cell type: allows to change the cell type and converts the input into the selected language.

  • Delete cell: deletes the cell from the notebook.

  • More actions: provides more options for managing the cell.

Natural language assistance

Powered by the Grazie Platform, Datalore provides a feature that highlights your grammar and spelling mistakes in Markdown cells. The checker system makes context-aware suggestions. To view suggestions, click the highlighted word and click the Show Fixes icon or press Ctrl + .

Viewing suggestions

Markdown cell menu

The Markdown cell menu is a popup menu opened by right-clicking anywhere in a Markdown cell. This element contains an expanded selection of actions to manage the cell and its input.

Insert code cell above/below

Inserts a new code cell below or above the selected one.

Insert cell above/below

Inserts a cell of a selected type below or above the selected one.

Delete cell

Deletes the selected cell.

Change cell type

Changes the type of the selected cell and converts the input.

Split cell at cursor

Splits the cell in two where the cursor is positioned.

Generate Table of Contents

Inserts a table of contents of the entire notebook at the end of the input of the selected Markdown cell.

Move cell up/down

Moves the selected cell one cell up or one cell down.

Last modified: 15 November 2021