1
0
silverbullet/website/Blocks.md
Zef Hemel f30b1d3418
Templates 2.0 (#636)
Templates 2.0 and a whole bunch of other refactoring
2024-01-20 19:16:07 +01:00

16 lines
499 B
Markdown

Blocks use the fenced code block notation of [[Markdown]], and assign special behavior to it.
The general syntax is:
```block-type
block configuration
```
These are the block types that ship with SilverBullet, but [[Plugs]] can define their own:
* `template`: [[Live Templates]]
* `query`: [[Live Queries]]
* `toc`: [[Table of Contents]]
* `embed`: [[Live Embeds]]
The fenced code block syntax is also used to get [[Markdown/Syntax Highlighting]] for numerous programming languages.