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.
Text Formatting
Section titled “Text Formatting”| Format | Keyboard | Toolbar |
|---|---|---|
| Bold | Ctrl+B | B button |
| Italic | Ctrl+I | I button |
| Underline | Ctrl+U | — |
| — | — | |
Inline code | — | <> button |
Headings
Section titled “Headings”Use H1–H3 to structure your notebook sections.
- Click H1, H2, or H3 in the toolbar
- Or type
/heading1,/heading2,/heading3to 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.
Tables
Section titled “Tables”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.
Images
Section titled “Images”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.
Slash Commands
Section titled “Slash Commands”Type / anywhere in a markdown block to open the command menu.
Block commands — insert a new block
Section titled “Block commands — insert a new block”| Command | What it does |
|---|---|
/text | Insert a new markdown block |
/code | Insert a new code block |
/image | Insert a new image block |
/table | Insert a new table (data grid) block |
Formatting commands — apply to current line
Section titled “Formatting commands — apply to current line”| Command | What it does |
|---|---|
/heading1 | Toggle H1 heading |
/heading2 | Toggle H2 heading |
/heading3 | Toggle H3 heading |
/bulletList | Toggle bullet list |
/orderedList | Toggle numbered list |
/taskList | Toggle checkbox list |
/blockquote | Toggle block quote |
/divider | Insert a horizontal rule |
Press Esc to dismiss the menu without selecting.
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”| Shortcut | Action |
|---|---|
Ctrl+B | Bold |
Ctrl+I | Italic |
Ctrl+U | Underline |
Ctrl+Z | Undo |
Ctrl+Shift+Z | Redo |
Backspace (at block start) | Merge with previous markdown block |
Block Actions
Section titled “Block Actions”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.