Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.7 KB
Raw Blame
---
title: Format a quote
---

import {TabItem, Tabs} from "@astrojs/starlight/components";

import FlattenedSteps from "../../components/FlattenedSteps.astro";
import ZulipTip from "../../components/ZulipTip.astro";
import QuotesExamples from "../include/_QuotesExamples.mdx";
import QuotesIntro from "../include/_QuotesIntro.mdx";
import StartComposing from "../include/_StartComposing.mdx";

import QuoteIcon from "~icons/zulip-icon/quote";

<QuotesIntro />

## Insert quote formatting

<Tabs>
  <TabItem label="Via compose box button">
    <FlattenedSteps>
      <StartComposing />

      1. *(optional)* Select the text you want to format.
      1. Click the **quote** (<QuoteIcon />) icon at the
         bottom of the compose box to insert quote block formatting.
    </FlattenedSteps>

    <ZulipTip>
      You can also use the **quote** (<QuoteIcon />)
      icon to remove existing quote formatting from the selected text.
    </ZulipTip>
  </TabItem>

  <TabItem label="Via Markdown">
    <FlattenedSteps>
      <StartComposing />

      1. To create a multi-line quote, type `>` followed by a space and some text:

         ```
         > a multi-line
         quote on two lines
         ```

         To create a multi-paragraph quote, use triple backticks and the word quote
         (` ```quote `) followed by some text and triple backticks at the end:

         ````
         ```quote
         A multi-paragraph

         quote in two paragraphs
         ```
         ````
    </FlattenedSteps>
  </TabItem>
</Tabs>

## Examples

<QuotesExamples />

## Related articles

* [Message formatting](/help/format-your-message-using-markdown)
* [Quote message](/help/quote-or-forward-a-message)