silverbullet/website/Slash Commands.md

11 lines
482 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Slash commands are built-in to SilverBullet. You can trigger them by typing a `/` in your text (after whitespace).
The [[🔌 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 [[🔌 Template@snippets]]
* `/today` to insert todays date
* `/tomorrow` to insert tomorrows date