Skip to content

Basic formatting

Lapis notes are ordinary Markdown files. This page covers the standard formatting syntax that works in source mode, live preview, and reading mode.

The public docs site does not run the in-app vault renderer, so vault-specific features such as wiki links are documented on other Editing pages.

Separate paragraphs with a blank line:

This is one paragraph.
This is another paragraph.

To break a line inside a paragraph without starting a new one, end the line with two spaces before pressing Enter, or use a <br> HTML tag on its own line.

Lapis follows standard Markdown line-break rules: a single Enter in source mode does not create a visible line break in reading mode unless you use one of the methods above.

Add one to six # symbols before heading text:

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Headings appear in the outline view and receive consistent styling across editor and reading surfaces.

StyleSyntaxExample
Bold**text** or __text__**Bold text**
Italic*text* or _text_*Italic text*
Bold and italic***text******Bold italic***
Strikethrough~~text~~~~Removed text~~

Combine styles inside a sentence: **Bold with _nested italic_ inside**.

To show formatting characters literally, escape them with a backslash: \*\*not bold\*\*.

Prefix lines with >:

> This is a quoted paragraph.
>
> It can span multiple lines.

Blockquotes can contain lists, code, and other block elements. For styled information blocks with icons, use block callouts instead.

Start each item with -, *, or +:

- First item
- Second item
- Nested item
- Another nested item
- Third item

Start each item with a number followed by . or ):

1. First step
2. Second step
3. Third step

Use Tab and Shift+Tab to indent or outdent list items in the editor.

See Tables and checklists for checkbox syntax and extended task markers.

Place three or more hyphens on their own line:

---

Wrap inline code in single backticks:

Use the `status` property to filter notes.

For a code block, wrap content in three or more backticks and optionally add a language identifier:

```ts
export function greet(name: string) {
return `Hello, ${name}`;
}
```

You can also use tilde fences (~~~) or indent a block by four spaces. See Code, math, and diagrams for syntax highlighting, Mermaid, and plugin-aware fences.

Add reference-style footnotes with GFM syntax:

This sentence has a footnote.[^1]
[^1]: The footnote text appears at the bottom of the note.

Footnotes are extracted into note metadata and render in reading mode.

Link to vault files with standard Markdown image syntax:

![Design sketch](attachments/sketch.png)

You can also embed vault images with wiki-style syntax. See Links, embeds, and tags for embeds and size options.

Prefix a special character with \ to show it literally:

\*not italic\*
\# not a heading
\| not a table cell

Common characters to escape: *, _, #, `, |, ~, and [.

To prevent a numbered line from becoming a list item, escape the period:

1\. This line stays plain text.