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

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