# 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:

### Multi-line Code Block​

Style
This is a multi-line code block!
let x = "This is a multi-line code block, with the language set to JS"
Markdown


This is a multi-line code block!


js
let x = "This is a multi-line code block, with the language set to JS"


This is how it looks on Revolt:

tip

The language display, shown above as a purple button, 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

danger

Three Block Quotes on a single line will not quote the whole message - it will make the first line a triple-quote.

tip

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

## 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!!

You can embed links in regular text.

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

Style

Markdown

## Tables​

You can create tables in your messages.

Style
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.

StyleKaTeX
$x^2$$x^2$
$\sin(x)$$\sin(x)$
$\frac{x}{y}$$\frac{x}{y}$
$\sqrt{x^2}$$\sqrt{x^2}$
$\sum_{i=1}^n a_i$$\sum_{i=1}^n a_i$
$\lim_{x \to \infty}$$\lim_{x \to \infty}$
$\color{red}\textsf{Red Text}$$\color{red}\textsf{Red Text}$
$\colorbox{red}{{\color{white}\textsf{White Text with Red Background}}}$$\colorbox{red}{{\color{white}\textsf{White Text with Red Background}}}$

## Timestamps​

You can display timestamps in your messages. The format requires you to get the time as a Unix timestamp. You can do this with online services like unixtimestamp.com.

StyleMarkdown
01:37<t:1663846662:t>
01:37:42<t:1663846662:T>
22 September 2022 02:37<t:1663846662:d>
22 September 2022<t:1663846662:D>
22 September 2022 01:37<t:1663846662:f>
Thursday, 22 September 2022 01:37<t:1663846662:F>
in 9 months (f.e.)<t:1663846662:R>

## 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 :.