2022-12-09 02:27:52 +01:00
|
|
|
# Message formatting
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2019-02-28 04:34:38 +01:00
|
|
|
[//]: # (All screenshots here require line-height: 22px and font-size: 16px in .message-content.)
|
2021-09-07 23:45:15 +02:00
|
|
|
[//]: # (Requires some additional fiddling for the LaTeX picture, inline code span, and maybe a few others.)
|
2019-02-28 04:34:38 +01:00
|
|
|
|
2023-03-10 05:26:25 +01:00
|
|
|
Zulip uses Markdown to allow you to easily format your messages. Even if you've
|
|
|
|
never heard of Markdown, you are probably familiar with basic Markdown
|
|
|
|
formatting, such as using `*` at the start of a line in a bulleted list, or
|
|
|
|
around text to indicate emphasis.
|
|
|
|
|
|
|
|
This page provides an overview of all the formatting available in Zulip. There
|
|
|
|
is a convenient [**message formatting
|
|
|
|
reference**](#message-formatting-reference) in the Zulip app that you can use
|
|
|
|
whenever you need a reminder of the formatting syntax below.
|
2018-09-19 17:39:02 +02:00
|
|
|
|
2023-03-10 05:54:05 +01:00
|
|
|
* [Text emphasis](#text-emphasis)
|
2023-03-10 06:03:45 +01:00
|
|
|
* [Bulleted lists](#bulleted-lists)
|
|
|
|
* [Numbered lists](#numbered-lists)
|
2023-03-10 06:11:14 +01:00
|
|
|
* [Links](#links)
|
2023-03-10 06:18:50 +01:00
|
|
|
* [Code blocks](#code-blocks)
|
2020-04-14 00:51:46 +02:00
|
|
|
* [LaTeX](#latex)
|
2018-09-19 17:39:02 +02:00
|
|
|
* [Quotes](#quotes)
|
2020-04-04 22:14:34 +02:00
|
|
|
* [Spoilers](#spoilers)
|
2018-09-19 17:39:02 +02:00
|
|
|
* [Emoji and emoticons](#emoji-and-emoticons)
|
2023-03-15 03:20:57 +01:00
|
|
|
* [Mention a user or group](#mention-a-user-or-group)
|
2023-03-15 03:24:32 +01:00
|
|
|
* [/me action messages](#me-action-messages)
|
2021-11-05 18:20:47 +01:00
|
|
|
* [Global times](#global-times)
|
2018-09-19 17:39:02 +02:00
|
|
|
* [Tables](#tables)
|
2021-11-05 12:36:34 +01:00
|
|
|
* [To-do lists](#to-do-lists)
|
2018-09-19 17:39:02 +02:00
|
|
|
* [Paragraphs and lines](#paragraphs-and-lines)
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 05:54:05 +01:00
|
|
|
## Text emphasis
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 05:54:05 +01:00
|
|
|
{!emphasis.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 05:54:05 +01:00
|
|
|
!!! tip ""
|
|
|
|
You can also use buttons or keyboard shortcuts (<kbd>Ctrl</kbd> +
|
|
|
|
<kbd>B</kbd> or <kbd>Ctrl</kbd> + <kbd>I</kbd>) to make text bold or italic.
|
|
|
|
[Learn more](/help/text-emphasis).
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:03:45 +01:00
|
|
|
{!format-lists.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
|
|
|
## Links
|
|
|
|
|
2023-03-10 06:11:14 +01:00
|
|
|
{!links-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:11:14 +01:00
|
|
|
{!links-examples.md!}
|
2022-02-17 13:11:45 +01:00
|
|
|
|
2023-03-10 06:11:14 +01:00
|
|
|
!!! tip ""
|
|
|
|
You can also use a button or a keyboard shortcut (<kbd>Ctrl</kbd> +
|
|
|
|
<kbd>Shift</kbd> + <kbd>L</kbd>) to insert a link.
|
|
|
|
[Learn more](/help/insert-a-link).
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:18:50 +01:00
|
|
|
## Code blocks
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:18:50 +01:00
|
|
|
{!code-blocks-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:18:50 +01:00
|
|
|
{!code-blocks-examples.md!}
|
2021-04-18 14:49:02 +02:00
|
|
|
|
2020-08-11 01:47:54 +02:00
|
|
|
## LaTeX
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:36:53 +01:00
|
|
|
{!latex-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-10 06:36:53 +01:00
|
|
|
{!latex-examples.md!}
|
2020-04-14 00:51:46 +02:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
## Quotes
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-02 21:28:01 +01:00
|
|
|
{!quotes-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-02 21:28:01 +01:00
|
|
|
{!quotes-examples.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-02 21:28:01 +01:00
|
|
|
!!! tip ""
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-02 21:28:01 +01:00
|
|
|
There is a handy option to [quote and reply](/help/quote-and-reply) to a
|
|
|
|
message in Zulip.
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2020-04-04 22:14:34 +02:00
|
|
|
## Spoilers
|
|
|
|
|
2023-03-15 02:27:24 +01:00
|
|
|
{!spoilers-intro.md!}
|
2020-04-04 22:14:34 +02:00
|
|
|
|
2023-03-15 02:27:24 +01:00
|
|
|
{!spoilers-examples.md!}
|
2020-04-04 22:14:34 +02:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
## Emoji and emoticons
|
2017-05-13 05:22:28 +02:00
|
|
|
|
2023-03-15 02:33:58 +01:00
|
|
|
{!emoji-and-emoticons-intro.md!}
|
2017-05-13 05:22:28 +02:00
|
|
|
|
2023-03-15 02:33:58 +01:00
|
|
|
{!emoji-and-emoticons-examples.md!}
|
2017-05-13 05:22:28 +02:00
|
|
|
|
2023-03-15 03:20:57 +01:00
|
|
|
## Mention a user or group
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-15 03:20:57 +01:00
|
|
|
{!mentions-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-15 03:20:57 +01:00
|
|
|
{!mentions-examples.md!}
|
2017-03-21 21:46:25 +01:00
|
|
|
|
2023-03-15 03:24:32 +01:00
|
|
|
## /me action messages
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-15 03:24:32 +01:00
|
|
|
{!me-action-messages-intro.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2023-03-15 03:24:32 +01:00
|
|
|
{!me-action-messages-examples.md!}
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2021-11-05 18:20:47 +01:00
|
|
|
## Global times
|
2020-05-21 10:42:27 +02:00
|
|
|
|
2023-03-15 03:29:06 +01:00
|
|
|
{!global-times-intro.md!}
|
2020-05-21 10:42:27 +02:00
|
|
|
|
2023-03-15 03:29:06 +01:00
|
|
|
{!global-times-examples.md!}
|
2020-07-06 17:21:37 +02:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
## Tables
|
2017-03-21 21:46:25 +01:00
|
|
|
|
2023-03-15 04:06:04 +01:00
|
|
|
{!tables-intro.md!}
|
|
|
|
|
|
|
|
{!tables-examples.md!}
|
2017-03-19 04:23:27 +01:00
|
|
|
|
2021-11-05 12:36:34 +01:00
|
|
|
## To-do lists
|
|
|
|
|
|
|
|
Sending a message with the text `/todo` creates a simple collaborative
|
|
|
|
to-do list. Any user who can access the message can add tasks by
|
|
|
|
entering the task's title and description and clicking "Add task". Once
|
|
|
|
created, task titles and descriptions cannot be edited.
|
|
|
|
|
|
|
|
Tasks can be marked (and unmarked) as completed by clicking the
|
|
|
|
checkboxes on the left.
|
|
|
|
|
|
|
|
![Markdown todo-lists](/static/images/help/markdown-todo.png)
|
|
|
|
|
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
## Paragraphs and lines
|
2017-03-19 04:23:27 +01:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
```
|
|
|
|
One blank space for a new paragraph
|
|
|
|
New line, same paragraph
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
New paragraph
|
2016-12-04 04:57:51 +01:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
---, ***, or ___ for a horizontal line
|
|
|
|
Over the line
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
---
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
Under the line
|
|
|
|
```
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2020-08-05 11:50:17 +02:00
|
|
|
![Markdown paragraph](/static/images/help/markdown-paragraph.png)
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2022-12-06 23:23:43 +01:00
|
|
|
## Message formatting reference
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2022-12-06 23:23:43 +01:00
|
|
|
A summary of the formatting syntax above is available in the Zulip app.
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2019-04-03 08:09:36 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
2018-09-19 17:39:02 +02:00
|
|
|
{!start-composing.md!}
|
2017-03-20 16:56:39 +01:00
|
|
|
|
2022-12-06 23:23:43 +01:00
|
|
|
1. Click the **question mark** (<i class="fa fa-question"></i>) icon at the
|
|
|
|
bottom of the compose box.
|
2019-04-03 08:09:36 +02:00
|
|
|
|
|
|
|
{end_tabs}
|
|
|
|
|
|
|
|
## Related articles
|
|
|
|
|
|
|
|
* [Create a poll](/help/create-a-poll)
|
2022-05-03 19:14:01 +02:00
|
|
|
* [Mention a user or group](/help/mention-a-user-or-group)
|
|
|
|
* [Preview messages before sending](/help/preview-your-message-before-sending)
|
|
|
|
* [Resize the compose box](/help/resize-the-compose-box)
|
2021-09-14 02:14:40 +02:00
|
|
|
* [Messaging tips & tricks](/help/messaging-tips)
|