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.
Paragraphs and line breaks
Section titled “Paragraphs and line breaks”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.
Headings
Section titled “Headings”Add one to six # symbols before heading text:
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6Headings appear in the outline view and receive consistent styling across editor and reading surfaces.
Emphasis
Section titled “Emphasis”| Style | Syntax | Example |
|---|---|---|
| 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\*\*.
Blockquotes
Section titled “Blockquotes”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.
Unordered lists
Section titled “Unordered lists”Start each item with -, *, or +:
- First item- Second item - Nested item - Another nested item- Third itemOrdered lists
Section titled “Ordered lists”Start each item with a number followed by . or ):
1. First step2. Second step3. Third stepUse Tab and Shift+Tab to indent or outdent list items in the editor.
Task lists
Section titled “Task lists”See Tables and checklists for checkbox syntax and extended task markers.
Horizontal rules
Section titled “Horizontal rules”Place three or more hyphens on their own line:
---Inline and fenced code
Section titled “Inline and fenced code”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:
```tsexport 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.
Footnotes
Section titled “Footnotes”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.
Images
Section titled “Images”Link to vault files with standard Markdown image syntax:
You can also embed vault images with wiki-style syntax. See Links, embeds, and tags for embeds and size options.
Escaping special characters
Section titled “Escaping special characters”Prefix a special character with \ to show it literally:
\*not italic\*\# not a heading\| not a table cellCommon characters to escape: *, _, #, `, |, ~, and [.
To prevent a numbered line from becoming a list item, escape the period:
1\. This line stays plain text.