From 7434b56e685b7333dca2bbf66017b7f39f8b69e2 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Thu, 15 Aug 2024 13:00:31 -0400 Subject: [PATCH] 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 --- docs/src/extensions/slash-commands.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/extensions/slash-commands.md b/docs/src/extensions/slash-commands.md index badce926f1af38fbf2009fbbdb0bcd0ade00c0a3..3e1813d70c67e9f0a1fab026a8967ebf903c527a 100644 --- a/docs/src/extensions/slash-commands.md +++ b/docs/src/extensions/slash-commands.md @@ -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`.