23 lines
646 B
Markdown
23 lines
646 B
Markdown
---
|
|
description: A triple-backtick block that can render widgets, queries, or syntax-highlighted code.
|
|
tags: glossary
|
|
references:
|
|
- client/codemirror/fenced_code.ts
|
|
- client/markdown_parser/parser.ts
|
|
---
|
|
|
|
Blocks use the fenced code block notation of [[Markdown]], and assign special behavior to it.
|
|
|
|
The general syntax is:
|
|
|
|
```language
|
|
block configuration
|
|
```
|
|
|
|
These are the block types that ship with SilverBullet, but [[Plugs]] can define their own:
|
|
|
|
* `space-lua`: [[Space Lua]]
|
|
* `space-style`: [[Space Style]]
|
|
|
|
The fenced code block syntax is also used to get [[Markdown/Syntax Highlighting]] for numerous programming languages.
|