Skip to content

Markdown Blocks

Markdown blocks are the primary way to write text, notes, and narrative content in CoPI. They support rich formatting, scientific notation, and embedded images — everything you need to annotate your research alongside code and data.

FormatKeyboardToolbar
BoldCtrl+BB button
ItalicCtrl+II button
UnderlineCtrl+U
Strikethrough
Inline code<> button

Use H1–H3 to structure your notebook sections.

  • Click H1, H2, or H3 in the toolbar
  • Or type /heading1, /heading2, /heading3 to apply inline

Bullet list — unordered items

  • Toolbar: bullet list button
  • Slash command: /bulletList

Numbered list — ordered items

  • Toolbar: numbered list button
  • Slash command: /orderedList

Task list — checkboxes

  • Slash command: /taskList
  • Click the checkbox to mark items complete

Inline code — for short snippets or variable names within text

  • Toolbar: <> button

Code block — for multi-line code with syntax highlighting

  • Toolbar: square button
  • Slash command: /code (inserts a new code block)

Write math notation using standard LaTeX syntax.

Inline math — flows with surrounding text:

The formula $E = mc^2$ describes mass-energy equivalence.

Display math — centered on its own line:

$$
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$

Both $...$ and $$...$$ syntax are supported.

Insert a spreadsheet-like data grid with /table (or /data-grid). This creates a dedicated Table block — not a markdown table — with resizable columns and cell editing.

For a simple inline markdown table, type the pipe syntax directly and it will render as a styled table.

Paste or drag an image directly into a markdown block. The image is automatically uploaded to storage and embedded in place.

You can also insert a dedicated Image block via the slash command /image.

Type / anywhere in a markdown block to open the command menu.

CommandWhat it does
/textInsert a new markdown block
/codeInsert a new code block
/imageInsert a new image block
/tableInsert a new table (data grid) block

Formatting commands — apply to current line

Section titled “Formatting commands — apply to current line”
CommandWhat it does
/heading1Toggle H1 heading
/heading2Toggle H2 heading
/heading3Toggle H3 heading
/bulletListToggle bullet list
/orderedListToggle numbered list
/taskListToggle checkbox list
/blockquoteToggle block quote
/dividerInsert a horizontal rule

Press Esc to dismiss the menu without selecting.

ShortcutAction
Ctrl+BBold
Ctrl+IItalic
Ctrl+UUnderline
Ctrl+ZUndo
Ctrl+Shift+ZRedo
Backspace (at block start)Merge with previous markdown block

Each block has a menu (⋯) with additional actions:

  • Move up / Move down — reorder blocks in the notebook
  • Duplicate — clone the block and its content
  • Delete — remove the block

Pressing Backspace at the very start of a markdown block will merge its content into the previous markdown block.

Ask CoPI

Ask me anything about CoPI — notebooks, code execution, AI features, and more.