Markdown Formatting
You can use Markdown formatting:Name | What you type | What gets displayed |
---|---|---|
Italics | *text* | text |
Bold | **text** | text |
Code | `text` | text |
Strikethrough | ~~text~~ | |
Horizontal Rule |
Text 1 --- Text 2 |
Text 1
Text 2 |
Links | [The Motte](https://www.themotte.org/) | The Motte |
Blockquote | > text | text |
Headers 1-6 | # Header 1 ## Header 2 ### Header 3 #### Header 4 ##### Header 5 ###### Header 6 |
Header 1Header 2Header 3Header 4Header 5Header 6 |
Ordered list | 1. First thing 2. Second thing |
|
Unordered list | * First thing * Second thing |
|
Code Block | ``` Use three backticks above and below. Or, indent the lines with four spaces. ``` |
Use three backticks above and below. Or, indent the lines with four spaces. |
Spoilers | ||batman's parents are dead|| | |
Username Mention | @QuadNarca | @QuadNarca |
Subreddit Mention | r/drama | r/drama |
Redditor Mention | u/Bardfinn | u/Bardfinn |
HTML Formatting
And we allow custom HTML in most places:Allowed Tags
Name | What you type | What gets displayed | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Span | My mother has <span style="color:blue">blue</span> eyes. | My mother has blue eyes. | |||||||||
Bold | This will be <b>bold</b> | This will be bold | |||||||||
Blockquote | <blockquote>This is a blockquote</blockquote> |
This is a blockquote |
|||||||||
Line Break |
Line 1 <br> Line 2 |
Line 1
Line 2 |
|||||||||
Code | <code>This is code</code> |
This is code
|
|||||||||
Strikethrough | The last word will have a <del>strikethrough</del> |
The last word will have a |
|||||||||
Emphasis | We <em>cannot</em> live like this. | We cannot live like this. | |||||||||
Headings |
<h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> |
This is heading 1This is heading 2This is heading 3This is heading 4This is heading 5This is heading 6 |
|||||||||
Horizontal Rule |
Text 1 <hr> Text 2 |
Text 1
Text 2 |
|||||||||
Italics | <i>This</i> is how you get italics. | This is how you get italics. | |||||||||
Lists |
<ul> <li>Bullet 1</li> <li>Bullet 2</li> </ul> <ol> <li>Number 1</li> <li>Number 2</li> </ol> |
|
|||||||||
Paragraphs |
<p>Paragraph 1</p> <p>Paragraph 2</p> |
Paragraph 1 Paragraph 2 |
|||||||||
Preformatted Text | <pre> Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks </pre> |
Text in a pre element is displayed in a fixed-width font, and it preserves both spaces and line breaks |
|||||||||
Strong | <strong>This text is important!</strong> | This text is important! | |||||||||
Subscript | This text contains <sub>subscript</sub> text. | This text contains subscript text. | |||||||||
Superscript | E = mc<sup>2</sup> | E = mc2 | |||||||||
Tables | <table> <thead> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col 3</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> <td>6</td> </tr> </tbody> </table> |
|
|||||||||
Links | This is a <a href='https://www.w3schools.com/tags/tag_a.asp'>link</a> | This is a link |
Allowed Attributes
Name |
---|
href |
style |
src |
class |
title |
direction |
behavior |
scrollamount |
Allowed Styles
Name |
---|
color |
background-color |
font-weight |
text-align |