1
0
silverbullet/website/Slash Commands.md
2023-12-19 16:18:33 +01:00

13 lines
549 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Slash commands are built-in to SilverBullet. You can trigger them by typing a `/` in your text (after whitespace).
The [[Plugs/Editor]] plug provides a few helpful ones:
* `/h1` through `/h4` to turn the current line into a header
* `/hr` to insert a horizontal rule (`---`)
* `/table` to insert a markdown table (whoever can remember this syntax without it)
* `/snippet` see [[Plugs/Template@snippets]]
* `/today` to insert todays date
* `/tomorrow` to insert tomorrows date
You can create custom slash commands using [[Slash Templates]].