From 0c199975f2d469ecdfd7efcf2ddd16ffa1dc492b Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 17 Aug 2023 07:55:28 +0000
Subject: [PATCH] various path fixes for links to extensions, fix relative paths in links
---
content/features/callouts.md | 44 ++++++++++++++++++++++++++++++++++----------
1 files changed, 34 insertions(+), 10 deletions(-)
diff --git a/content/features/callouts.md b/content/features/callouts.md
index 6f33dff..63051ad 100644
--- a/content/features/callouts.md
+++ b/content/features/callouts.md
@@ -1,17 +1,41 @@
---
title: Callouts
+tags:
+ - plugin/transformer
---
-> [!warning]
-> Wondering why callouts may not be showing up even if you have them enabled? You may need to reorder your plugins so that `Plugin.ObsidianFlavoredMarkdown()` is *after* `Plugin.SyntaxHighlighting()`.
+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](https://help.obsidian.md/Editing+and+formatting/Callouts).
+
+> [!warning]
+> Wondering why callouts may not be showing up even if you have them enabled? You may need to reorder your plugins so that `Plugin.ObsidianFlavoredMarkdown()` is _after_ `Plugin.SyntaxHighlighting()`.
+
+## Customization
+
+- Disable callouts: simply pass `callouts: false` to the plugin: `Plugin.ObsidianFlavoredMarkdown({ callouts: false })`
+- Editing icons: `quartz/plugins/transformers/ofm.ts`
+
+## Showcase
> [!info]
> Default title
> [!question]+ Can callouts be nested?
+>
> > [!todo]- Yes!, they can.
-> > > [!example] You can even use multiple layers of nesting.
+> >
+> > > [!example] You can even use multiple layers of nesting.
> [!EXAMPLE] Examples
>
@@ -21,31 +45,31 @@
>
> Aliases: note
-> [!abstract] Summaries
+> [!abstract] Summaries
>
> Aliases: abstract, summary, tldr
-> [!info] Info
+> [!info] Info
>
> Aliases: info, todo
-> [!tip] Hint
+> [!tip] Hint
>
> Aliases: tip, hint, important
-> [!success] Success
+> [!success] Success
>
> Aliases: success, check, done
-> [!question] Question
+> [!question] Question
>
> Aliases: question, help, faq
-> [!warning] Warning
+> [!warning] Warning
>
> Aliases: warning, caution, attention
-> [!failure] Failure
+> [!failure] Failure
>
> Aliases: failure, fail, missing
--
Gitblit v1.10.0