Support Admonition callouts () (closes )

This commit is contained in:
Emile Bangma 2022-07-31 02:29:26 +02:00 committed by GitHub
parent e142f37e8d
commit 728d8529ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 529 additions and 0 deletions

View file

@ -9,6 +9,7 @@ Host your second brain and [digital garden](https://jzhao.xyz/posts/networked-th
3. Automatically generated backlinks, link previews, and local graph
4. Built-in [[notes/CJK + Latex Support (测试) | CJK + Latex Support]]
5. Support for both Markdown Links and Wikilinks
6. Built-in [[notes/callouts | Callouts Support]]
Check out some of the [amazing gardens that community members](notes/showcase.md) have published with Quartz or read about [why I made Quartz](notes/philosophy.md) to begin with.

97
content/notes/callouts.md Normal file
View file

@ -0,0 +1,97 @@
---
title: "Callouts"
---
## Callout support
Supports built-in Callouts. See [documentation on supported types here](https://help.obsidian.md/How+to/Use+callouts#Types).
## Format:
```
> [!example] Example
>
> Text
```
Turns to:
> [!example] Example
>
> Text
## Collapsible Callouts:
```
> [!example]- Starts Collapsed
>
> Text
```
Turns to:
> [!example]- Starts Collapsed
>
> Text
```
> [!example]- Starts Opened
>
> Text
```
Turns to:
> [!example]- Starts Opened
>
> Text
## Showcase:
> [!example] example
>
> example
> [!note] note
>
> note
> [!abstract] abstract, summary, tldr
>
> abstract, summary, tldr
> [!info] info, todo
>
> info, todo
> [!tip] tip, hint, important
>
> tip, hint, important
> [!success] success, check, done
>
> success, check, done
> [!question] question, help, faq
>
> question, help, faq
> [!warning] warning, caution, attention
>
> warning, caution, attention
> [!failure] failure, fail, missing
>
> failure, fail, missing
> [!danger] danger, error
>
> danger, error
> [!bug] bug
>
> bug
> [!quote] quote, cite
>
> quote, cite

View file

@ -31,6 +31,9 @@ enableCodeBlockTitle: true
# whether to render copy buttons for code blocks
enableCodeBlockCopy: true
# whether to render callouts
enableCallouts: true
# whether to try to process Latex
enableLatex: true