Markdown and raw mode
On this page
Every note is stored as plain Markdown text. The editor shows it formatted, but underneath it’s a Markdown file you can read, copy and export anywhere. Raw mode lets you edit that Markdown directly.
Switch to raw mode
- Open the note.
- Select … (Note actions) at the top right.
- Select Raw markdown.
Or press ⌘⇧M / Ctrl+Shift+M . The note becomes a plain text box showing its Markdown. Your changes save as you type, the same as in the normal editor.
To go back, select … > Rich text, or press ⌘⇧M / Ctrl+Shift+M again.
Paste Markdown
When you paste plain text that uses Markdown, such as a reply copied from an AI chat or a terminal, it’s formatted as you paste it. Headings, lists, checklists, quotes, code blocks, links and tables all come through, in notes and scratch pads.
Tables drawn with box characters (┌─┬─┐), as Claude Code, psql and MySQL print them, become real tables too. Text that wraps onto several lines in one cell is joined back into that cell.
To paste the text without this formatting, press ⌘⇧V / Ctrl+Shift+V . Text pasted into a code block stays as it is, and in a table cell, headings, lists and tables stay as plain text.
Copy a note as Markdown
Select … > Copy as markdown. The whole note, including its title line, is copied to your clipboard as Markdown, ready to paste into another app.
To save the note as a file, use … > Export > Markdown (.md). See Print and export a note.
How each element is written
Midmorning uses standard Markdown (with GitHub-style tables, checklists and strikethrough) for everything it can, so notes stay readable in other apps. A few features use their own syntax.
Text and blocks
| In the editor | In Markdown |
|---|---|
| Headings 1 to 3 | # Heading, ## Heading, ### Heading |
| Bold, italic, strikethrough | **bold**, *italic*, ~~strike~~ |
| Inline code | `code` |
| Bullet and ordered lists | - item, 1. item |
| Checklist | - [ ] to do, - [x] done |
| Quote | > quoted text |
| Divider | --- |
| Code block | Text between ``` lines, with the language after the opening ``` |
| Table | A GitHub-style table with a header row |
| Web link | [text](https://example.com) |
| Tag | #tag or #parent/child |
Colours and highlights
| In the editor | In Markdown |
|---|---|
| Yellow highlight | ==text== |
| Other highlight colours | <mark data-bg="blue">text</mark> |
| Text colour | <span data-color="red">text</span> |
The colour names are red, orange, yellow, green, blue, purple, pink and grey. These two tags are the only HTML Midmorning reads. Other HTML is kept as preserved Markdown.
Callouts
A callout is a quote whose first line names its type:
> [!callout|green] 💡
>
> Remember to book the venue.
The word after | is the colour, and the emoji after ] is the icon. Midmorning also reads Obsidian and GitHub-style alerts such as > [!warning] or > [!tip] Title. See Callouts.
Midmorning links and objects
These look like ordinary Markdown links, with a special address. The long code in each address identifies the note, file, reminder or task, so leave it unchanged.
| In the editor | In Markdown |
|---|---|
| Link to a note | [[Note title]](note:…) |
| Embedded note | ![[Note title]](note:…) |
| Link to a note that doesn’t exist yet | [[Note title]] |
| Image | , optionally followed by a size such as {width=50%} |
| File | [file name](attachment:…) |
| Reminder | [reminder label](reminder:…) |
| Checklist item linked to a task | - [ ] Item [](task:…) |
| Maths | $x^2$ inline, or $$ on lines before and after a block |
| Diagram | A code block with the language mermaid |
If you paste text containing [[Note title]] into a note, it becomes a note link.
Preserved Markdown
Some Markdown can’t be shown in the editor, for example:
- headings at level 4 to 6 (
####and deeper) - footnotes
- HTML other than the colour tags above
- images from web addresses, rather than attached files
Midmorning never deletes this content. Each block like this appears as raw text in a box with a dashed border. Hover over it to see “Preserved markdown. Edit in raw mode.” To change it, switch to raw mode.
This mostly matters when you import Markdown written in another app.
Keyboard shortcuts
| Action | Shortcut |
|---|---|
| Toggle raw markdown | ⌘⇧M / Ctrl+Shift+M |
| Export note as Markdown (.md) | ⌘⇧E / Ctrl+Shift+E |
Limits
- A note’s Markdown can be up to 1,000,000 characters.
- Headings go down to level 3 in the editor. Deeper headings are kept as preserved Markdown.
Last updated 30 November 2026