Short Callout
SNIPPETltroj

Short Callout

CSS snippet for short callouts in Obsidian.md

CSSAny theme
# 📣 Short callout CSS snippet for Obsidian

Short callouts are useful for brief lines of information that should appear close to the preceding paragraph.

![Demo](readme-img/05.gif)

## Usage

Download the [short-callout.css](https://github.com/ltroj/obsidian-short-callout/blob/main/short-callout.css "short-callout.css") snippet and save it to `.obsidian/snippets/` in your vault. Activate the snippet under `Settings > Appearance > CSS Snippets`.

## Examples

Short callouts follow the normal syntax for callouts and are characterized by the fact that their type identifier ends with a colon (:).
I like to use them for source references. ⤵️

![Example 1](readme-img/01.png)

```
> [!book-copy:] See also
> HIBBELER, Russell C., 2023. _Mechanics of Materials, SI Edition_.
```

Also useful as simple headers for project notes.

![Example 2](readme-img/02.png)

```
> [!project:]
>  **id**: shortco | **category**: Obsidian | **status**: 🔥
```

Some useful default types are already predefined:

![Example 3](readme-img/03.png)

```
> [!source:] 
> Lorem Ipsum

> [!quote:]
> Lorem Ipsum

> [!book-copy:]
> Lorem Ipsum

> [!project:]
> Lorem Ipsum
```

In order to customize icons, colors and type identifiers just edit the snippet or - even simpler - use the awesome [Callout Manager plugin](https://github.com/eth-p/obsidian-callout-manager).

As they are normal callouts, they can also be folded using the `+ -`  syntax. 

![Example 1](readme-img/04.gif)

```
> [!quote:]- Quotation from
> *Joseph von Eichendorff: Werke., Bd. 1, München 1970 ff., S. 184-185.*

> [!quote:]+ Quotation from
> *Joseph von Eichendorff: Werke., Bd. 1, München 1970 ff., S. 184-185.*
```

How to Install

  1. Download the CSS file below
  2. Move it to your vault's .obsidian/snippets/ folder
  3. Open Obsidian → Settings → Appearance → CSS Snippets → Enable it
Download snippet.css

Stats

Stars

25

Forks

0

Last updated 15mo ago