Skip to content

Update snippets.md #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions interface/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Snippets allow you to define autocompletions that active as you type. A `prefix` is the text that you type to trigger the snippet, and the `template` is the text that gets inserted replacing the prefix.

For example, you may find typing `check` easier than `- [] ` - you can define a snippet that will make that replacement:
For example, you may find typing `todo` easier than `- [] ` - you can define a snippet that will make that replacement:

![](/images/snippets1.png)
![](/images/snippets2.png)
Expand All @@ -18,5 +18,5 @@ Have additional suggestions? Make a PR [here](https://github.com/mark-when/docs)

|Prefix|Template|
|---|---|
|`check`|`- [${}] ${}`|
|`location`|`[${}](location)`|
|`todo`|`- [${}] ${}`|
|`location`|`[${}](location)`|