Back to Zulip

Saved snippets

starlight_help/src/content/docs/saved-snippets.mdx

12.03.0 KB
Original Source

import FlattenedSteps from "../../components/FlattenedSteps.astro"; import KeyboardTip from "../../components/KeyboardTip.astro"; import StartComposing from "../include/_StartComposing.mdx";

import EditIcon from "~icons/zulip-icon/edit"; import MessageSquareTextIcon from "~icons/zulip-icon/message-square-text"; import TrashIcon from "~icons/zulip-icon/trash";

You can save snippets of message content, and quickly insert them into the message you're composing.

Insert a saved snippet

<FlattenedSteps> <StartComposing />
  1. Click the add saved snippet (<MessageSquareTextIcon />) icon at the bottom of the compose box to open the saved snippets menu.
  2. Start typing to filter saved snippets by title. Select a saved snippet to insert it into the compose box. </FlattenedSteps>
<KeyboardTip> You can also use <kbd>Ctrl</kbd> + <kbd>'</kbd> to open the saved snippets menu. </KeyboardTip>

Create a saved snippet

<FlattenedSteps> <StartComposing />
  1. (optional) Write the text you'd like to use as save as a snippet in the compose box. You can preview what it will look like once sent.
  2. Click the add saved snippet (<MessageSquareTextIcon />) icon at the bottom of the compose box to open the saved snippets menu.
  3. Select Create a new saved snippet.
  4. Enter a Title for the saved snippet, which will be used for finding saved snippets.
  5. Enter the Content you'd like to save as a snippet, or modify the content from the compose box as needed.
  6. Click Save. </FlattenedSteps>
<KeyboardTip> You can also use <kbd>Ctrl</kbd> + <kbd>'</kbd> to open the saved snippets menu. </KeyboardTip>

Edit a saved snippet

<FlattenedSteps> <StartComposing />
  1. Click the add saved snippet (<MessageSquareTextIcon />) icon at the bottom of the compose box to open the saved snippets menu.
  2. Hover over the saved snippet you'd like to edit, and click the edit snippet (<EditIcon />) icon on the right.
  3. Edit the Title and Content as desired.
  4. Click Save. </FlattenedSteps>
<KeyboardTip> You can also use <kbd>Ctrl</kbd> + <kbd>'</kbd> to open the saved snippets menu. </KeyboardTip>

Delete a saved snippet

<FlattenedSteps> <StartComposing />
  1. Click the add saved snippet (<MessageSquareTextIcon />) icon at the bottom of the compose box to open the saved snippets menu.
  2. Hover over the saved snippet you'd like to delete, and click the delete snippet (<TrashIcon />) icon on the right. </FlattenedSteps>
<KeyboardTip> You can also use <kbd>Ctrl</kbd> + <kbd>'</kbd> to open the saved snippets menu. </KeyboardTip>