docs: Link to slash-commands-example extension (#16304)

This PR updates the slash command extension docs to link to the
`slash-commands-example` extension, for a quick start.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-08-15 13:00:31 -04:00 committed by GitHub
parent b764174e8b
commit 7434b56e68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,12 @@
Extensions may provide slash commands for use in the Assistant.
## Example extension
To see a working example of an extension that provides slash commands, check out the [`slash-commands-example` extension](https://github.com/zed-industries/zed/tree/main/extensions/slash-commands-example).
This extension can be [installed as a dev extension](./developing-extensions.html#developing-an-extension-locally) if you want to try it out for yourself.
## Defining slash commands
A given extension may provide one or more slash commands. Each slash command must be registered in the `extension.toml`.