Skip to main content

Markdown Reference

Revolt uses a simple, plain-text based, and super easy text formatting system called Markdown.
Use it to make your text stand out!

Basic Styles#

StyleMarkdown
bold**bold** or __bold__
italics*italics* or _italics_
bold italics***bold italics*** or ___bold italics___
strikethrough~~strikethrough~~

Code Blocks#

You can use code blocks for text that needs to be easily copied, such as code.

Single-line Code Block#

StyleMarkdown
This is a single-line code block!`This is a single-line code block!`
This is how it looks on Revolt:

An example of a single-line code block.

Multi-line Code Block#

Style
This is a multi-line code block!
<h1>This is a multi-line code block, with the language set to HTML</h1>
Markdown

```
This is a multi-line code block!
```

```html
<h1>This is a multi-line code block, with the language set to HTML.</h1>
```

This is how it looks on Revolt:

An example of multi-line code blocks.

tip

The language display, shown above in purple, also acts as a copy button: If you click on it, the entire contents of the code block get pasted into your clipboard! This is especially useful for code blocks that contain a lot of text.

Block Quotes#

You can use Block Quotes to signify a quote. The block quote can be multiple levels deep.

Style

If you change the way you look at things, the things you look at change.

β€” Wayne Dyer

trash can sus

Markdown

> > If you change the way you look at things, the things you look at change.
>
> β€” Wayne Dyer

trash can sus

tip

You need to put an empty line after every Block Quote to signify the end of the Block Quote.

Superscript and Subscript#

You can make a portion of text appear higher up or higher down with superscript and subscript.

StyleMarkdown
H2OH~2~0
CO2CO^2^

Spoilers#

You can hide spoilers using spoiler tags.

Simply wrap your spoiler in two exclamation marks before and after, and the text will only be revealed after an additional click.

Example

The impostor is !!jan!!

Links#

You can embed links in regular text.

StyleMarkdown
Revolt[Revolt](https://revolt.chat)

Headings#

You can add headings to your messages. The lower the heading number, the larger the text. The smallest heading is 6.

Style

Heading 1

Heading 2#

Heading 3#

Heading 4#

Heading 5
Heading 6#
Markdown

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Tables#

You can create tables in your messages.

Style
Header 1Header 2Header 3
Cell 1Cell 2Cell 3
Cell 4Cell 5Cell 6
Cell 7Cell 8Cell 9
Markdown
| Header 1 | Header 2 | Header 3 ||----------|----------|----------|| Cell 1   | Cell 2   | Cell 3   || Cell 4   | Cell 5   | Cell 6   || Cell 7   | Cell 8   | Cell 9   |

Lists#

You can create lists in your messages, such as unordered lists (*, +, -) and ordered lists (1., 2., 3.).

Style
  • Item 1
  • Item 2
  • Item 3
  1. Item 1
  2. Item 2
  3. Item 3
Markdown

* Item 1
* Item 2
* Item 3

1. Item 1
2. Item 2
3. Item 3

KaTeX#

You can use KaTeX to render math and some other advanced markup in your messages.

StyleMarkdown
x2x^2$x^2$
sin⁑(x)\sin(x)$\sin(x)$
xy\frac{x}{y}$\frac{x}{y}$
x2\sqrt{x^2}$\sqrt{x^2}$
βˆ‘i=1nai\sum_{i=1}^n a_i$\sum_{i=1}^n a_i$
lim⁑xβ†’βˆž\lim_{x \to \infty}$\lim_{x \to \infty}$
RedΒ Text\color{red}\textsf{Red Text}$\color{red}\textsf{Red Text}$

See KaTeX's documentation for more information.

Emoji#

You can use emoji in your messages. This allows you to express yourself in a more human way.

StyleMarkdown
🀠\:cowboy_hat_face\:
😳\:flushed\:
😍\:heart_eyes\:
πŸ₯°\:smiling_face_with_three_hearts\:

You can see the full list of emoji shortcodes using auto-completion, simply start typing with a :.