104 - Advanced formatting syntax
Learn how to add advanced formatting syntax to your notes.
Tables
You can create tables using vertical bars (|) to separate columns and hyphens (-) to define headers. Here's an example:
| First name | Last name |
| ---------- | --------- |
| Max | Planck |
| Marie | Curie |
| First name | Last name |
|---|---|
| Max | Planck |
| Marie | Curie |
While the vertical bars on either side of the table are optional, including them is recommended for readability.
You can insert a table using the Insert Table command from the Command Palette or by right-clicking and selecting Insert → Table. This will give you a basic, editable table:
| | |
| --- | --- |
| | |
Note that cells don't need perfect alignment, but the header row must contain at least two hyphens:
First name | Last name
-- | --
Max | Planck
Marie | Curie
Format content within a table
You can use 103 - Basic formatting syntax to style content within a table.
| First column | Second column |
|---|---|
| Internal links | Link to a file within your vault. |
| Embed files | ![]() |
Align text in columns by adding colons (:) to the header row. You can also align content in Live Preview via the context menu. |
Left-aligned text | Center-aligned text | Right-aligned text
:-- | :--: | --:
Content | Content | Content
| Left-aligned text | Center-aligned text | Right-aligned text |
|---|---|---|
| Content | Content | Content |
Callouts
Notes
> [!NOTE] Note Title
> Information
Information
Warnings
> [!WARNING] A warning
> This is a warning
This is a warning
Folding Callouts
> [!NOTE]+ Open by default
> Folding/Collapsable callout
Folding/Collapsable callout
> [!FAQ]- Closed by default
> Folding/Collapsable callout
Folding/Collapsable callout
Nested Callouts
> [!TIP] Nested callouts
> Text inside the tip callout
> > [!EXAMPLE] Inner callout
> > Multiple nesting layers
> > > [!TODO] Inner inner callout
Text inside the tip callout
Multiple nesting layers
