Obsidian

Callouts

Note

This is a note.

tldr/summary/abstract

Too long; didn't read.

info

Here's some information.

todo

Things to be done.

tip/hint/important

This is a tip

success/check/done

This thing is done

question/help/faq

Here's a question

warning/caution/attention

This is a warning!

failure/fail/missing

This failed!

danger/error

Error! Error!

bug

Bug reported!

example

This is only an example.

quote/cite

This is a quote.

Special Features

Can callouts be nested?

Yes!, they can.

You can even use multiple layers of nesting.

Woo!

Code in callout

// Make sure every line begins with a > in markdown
// otherwise the callout will break
int main(int argc, char **argv) { }

Markdown

> [!note] Note
> This is a note.

> [!tldr] tldr/summary/abstract
> Too long; didn't read.

> [!info] info
> Here's some information.

> [!todo] todo
> Things to be done.

> [!tip] tip/hint/important
> This is a tip

> [!success] success/check/done
> This thing is done

> [!question] question/help/faq
> Here's a question

> [!warning] warning/caution/attention
> This is a warning!

> [!fail] failure/fail/missing
> This failed!

> [!danger] danger/error
> Error! Error!

> [!bug] bug
> Bug reported!

> [!example] example
> This is only an example.

> [!quote] quote/cite
> This is a quote.

> [!note]- Foldable note
> Text only visibale after unfolding

> [!question] Can callouts be nested?
> > [!todo] Yes!, they can.
> > > [!example]  You can even use multiple layers of nesting.
> > > Woo!

> [!INFO] Code in callout
> ```C
> // Make sure every line begins with a > in markdown
> // otherwise the callout will break
> int main(int argc, char **argv) { }
> ```

Getting rid of unused properties

Once you used a property it will always show up in auto-complete. Very annoying if you misspelled it and corrected it later.
Open [path to your vault]/.obsidian/types.json and remove the unneeded properties. You can also just adjust property type there.
This is safe to do - editing a property still in use will not change or remove it from documents.
Unused properties are also removed from the list automatically after a while.

Digital Garden Documentation

Digital Garden - Publish Obsidian Notes For Free
oleeskild/obsidian-digital-garden

CSS Styling

Obsidian playbook: https://notes.nicolevanderhoeven.com/obsidian-playbook/Obsidian+Playbook+Readme
Styling with CSS: CSS snippets - Obsidian Help
Available variables and classes: Build a theme - Developer Documentation (obsidian.md)
List of supported codeblock languages (Prism is the library used by Obsidian): https://prismjs.com/#supported-languages
Obsidian is rendering using a web-browser, so you can always Ctrl + Shift + I in Obsidian to bring up the dev tools (including the inspector to check individual classes and styling options).

Testing

This section is for testing CSS styling and the publishing results of the digital garden plugin...

~~~
foobar
~~~
cat foo.bar | grep test
[[Text that looks like a link]]
[[another|link]]
```C
int main() { return 0; }
```
baz

Link to heading: #Callouts
Link to document with &: Data Structures & Algorithms
Link to document with & and heading: Data Structures & Algorithms#Hash Tables

Heading 1

Test

Heading 2

Test

Heading 3

Test

Heading 4

Test

Heading 5

Test

Heading 6

Test