These examples go in a note’s body. Copy the characters in the code blocks; the surrounding code fence is for displaying the example unless the example itself shows a fence.
Headings and emphasis
# Large heading
## Section heading
### Smaller heading
**bold**
_italic_
~~strikethrough~~
==highlight==
`literal code`
Start headings on their own lines, with a space after the hashes. A blank line separates paragraphs.
Lists and tasks
- A bullet
- Another bullet
- A nested item
1. First item
2. Second item
- [ ] An unfinished task
- [x] A finished task
Indentation gives a nested item its place under a parent. In the editor, Tab and Shift+Tab adjust a list item’s nesting.
Quotes and callouts
> A quoted passage.
>
> Another paragraph in the quote.
> [!note] A title for the callout
> The contents go on quoted lines too.
>
> - A list can go inside.
A callout is a boxed passage, not a heading. The > on each line keeps its content inside the quote. A normal unquoted line leaves the callout.
Links
[Visit the library website](https://example.com)
For another note in your shelf, use the note-link picker so it stores the target’s identity. See Connect your notes. A note title you type between brackets is not a substitute for choosing the intended note.
Tables
| Scene | Words |
| ---------- | ----: |
| Arrival | 1200 |
| The letter | 800 |
The colon in ---: requests right alignment. :--- requests left alignment and :---: requests centered alignment. The separator row belongs immediately below the header.
Fenced code
```javascript
const title = "Harbour lights";
```
The language name after the opening fence is optional. Text inside a fence stays literal rather than becoming Markdown lists, tables, or links.
Math and comments
Inline math: $x^2 + y^2 = z^2$
$
\frac{a}{b}
$
A sentence. %% A comment in the source. %%
Math uses LaTeX-style notation. It displays an equation; it does not calculate a library property. Comments remain part of the note’s source even when hidden in preview. They are not private from someone who can read the note.
A horizontal rule
Put three dashes on a line of their own, with a blank line before and after:
A paragraph.
---
The next section.
Blank lines make the intended structure clear when similar marks can also be interpreted as a heading underline or list syntax.