@r4ai/
remark-callout

A remark plugin to add obsidian style callouts to markdown

Headless

You can style the callouts however you want.

Customizable

You can customize the structure of the Callout output HTML

Examples

Note

This is a note callout. It's a great way to add a little extra information to your markdown.

You can do this with following syntax:

 
> [!note]
> This is a note callout. It's a great way to add a little extra information to your markdown.
Theorem 1.1.2

Let (Ω,F,μ)(\Omega, \mathcal{F}, \mu) be a measure space.

Let A,B,A1,A2,FA, B, A_{1}, A_{2}, \cdots \in \mathcal{F}. Then, the following holds:

  1. μ\mu is additive.
  2. An    μ(i=1Ai)=limnμ(An)\displaystyle A_{n} \uparrow \implies \mu \left( \bigcup_{i=1}^{\infty} A_{i} \right) = \lim_{ n \to \infty } \mu(A_{n})
  3. [ An   nN; μ(An)<+ ][~A_{n} \downarrow ~ \land ~~ \exists n \in \mathbb{N};\ \mu(A_{n}) < +\infty ~]
        μ(n=1An)=limnμ(An)\implies \mu \left( \bigcap_{n=1}^{\infty}A_{n} \right) = \lim_{ n \to \infty }\mu(A_{n})
  4. μ(n=1An)n=1μ(An)\displaystyle\mu \left( \bigcup_{n=1}^{\infty} A_{n} \right) \leq \sum_{n=1}^{\infty}\mu(A_{n})