Quartz supports the same Admonition-callout syntax as Obsidian.
This includes
- 12 Distinct callout types (each with several aliases)
- Collapsable callouts
> [!info] Title
>
> This is a callout!
See documentation on supported types and syntax here.
Warning
Wondering why callouts may not be showing up even if you have them enabled? You may need to reorder your plugins so that ObsidianFlavoredMarkdown is after SyntaxHighlighting.
Customization
The callouts are a functionality of the ObsidianFlavoredMarkdown plugin. See the plugin page for how to enable or disable them.
You can edit the icons by customizing quartz/styles/callouts.scss.
Add custom callouts
By default, custom callouts are handled by applying the note style. To make fancy ones, you have to add these lines to custom.scss.
.callout {
&[data-callout="custom"] {
--color: #customcolor;
--border: #custombordercolor;
--bg: #custombg;
--callout-icon: url("data:image/svg+xml; utf8, <custom formatted svg>"); //SVG icon code
}
}Warning
Donât forget to ensure that the SVG is URL encoded before putting it in the CSS. You can use tools like this one to help you do that.
Showcase
Info
Default title
Can callouts be nested?
Yes!, they can. And collapsed!
You can even use multiple layers of nesting.
Note
Aliases: ânoteâ
Abstract
Aliases: âabstractâ, âsummaryâ, âtldrâ
Info
Aliases: âinfoâ
Todo
Aliases: âtodoâ
Tip
Aliases: âtipâ, âhintâ, âimportantâ
Success
Aliases: âsuccessâ, âcheckâ, âdoneâ
Question
Aliases: âquestionâ, âhelpâ, âfaqâ
Warning
Aliases: âwarningâ, âattentionâ, âcautionâ
Failure
Aliases: âfailureâ, âmissingâ, âfailâ
Danger
Aliases: âdangerâ, âerrorâ
Bug
Aliases: âbugâ
Example
Aliases: âexampleâ
Quote
Aliases: âquoteâ, âciteâ