Guys! In this quick tutorial, I'll be showing you how to make your posts pretty using Markdown styling!
Headers
First we'll learn about headers. A header starts with a hash symbol # followed by a space:
# A header
Output:
A header
Headers can be a variety of sizes. A smaller header starts with more hash symbols. The number of hash symbols can be 1 to 6:
#### A header with 4 hash symbols
Output:
A header with 4 hash symbols
Alternatively, you can also "underline" a text with = or - to produce headers
First header (Same as # First header)
--------------
Second header (Same as ## Second header)
===========
Text Styles
You can make italic, bold or strikethrough text. Put the text between a pair of * or _ to make it italic.
*italic text*
_also italic_
Output: italic text also italic
Put two * or _ on both sides of text to make it bold.
**bold text**
__also bold__
Output: bold text also bold
You can also do a strikethrough by putting two tildes (~) on each side:
~~strikethrough~~
Output: strikethrough
It's ok to mix up those stylings:
**_~~bold, italic and strikethrough~~_**
Output: bold, italic and strikethrough
Lists
There's two kind of lists in Markdown: unordered (bulleted) and ordered (numbered). Since repl.it talk Markdown doesn't support ordered lists (sadly), we'll only deal with unordered lists.
An unordered list item starts with either a *, + or - followed by a space:
* this
+ that
- and stuff
Output:
this
that
and stuff
Use indentations of 2 spaces to make sublists
* list item
* sublist item
* yet another sublist item
Wait... what if my image is stored in my computer? It doesn't have a URL! Well, repl.it provided an easy way to upload images. All you need is to click the select files button below to upload it. After that, you'll see the Markdown code for your image in the text box.
Code
And finally, code!! Inline code and code blocks are widely used in repl.it talk since repl.it talk is a platform for coders to share. Wrap a pair of backticks (`) around text to make a span of code (inline code):
`$ node index.js`
Output: $ node index.js
To indicate a block of code, put three backticks (```) at both the start and end of your code:
```
This is a code block.
Everything here is monospaced.
```
Output:
This is a code block.
Everything here is monospaced.
Additionally, repl.it supports code block syntax highlighting, which is pretty useful for emphasizing readability. Just put the language name (or its short form) after the three backticks:
```js
while (true)
console.log("MARKDOWN IS AWESOME!!!");
```
Output:
while (true)
console.log("MARKDOWN IS AWESOME!!!");
Blockquotes
To do blockquotes put a > before each line of the block:
> Timchen is the greatest and
> we should praise him
Output:
Timchen is the greatest and we should praise him
Don't forgot to leave a blank line after each blockquote!
Horzontal rules
A horzontal rule (a line that separates content) can be made of either three asterisks (*) or underscores (_):
There's a horizontal rule below
***
There's a horizontal rule above
Output: There's a horizontal rule below
There's a horizontal rule above
That's all what I can teach in this very tutorial. Start using Markdown to style your posts, and find more about it!
Orginally posted (then deleted) by JSer. I revived because we link to it in the app
Guys! In this quick tutorial, I'll be showing you how to make your posts pretty using Markdown styling!
Headers
First we'll learn about headers. A header starts with a hash symbol
#
followed by a space:Output:
A header
Headers can be a variety of sizes. A smaller header starts with more hash symbols. The number of hash symbols can be 1 to 6:
Output:
A header with 4 hash symbols
Alternatively, you can also "underline" a text with
=
or-
to produce headersText Styles
You can make italic, bold or
strikethroughtext.Put the text between a pair of
*
or_
to make it italic.Output:
italic text
also italic
Put two
*
or_
on both sides of text to make it bold.Output:
bold text
also bold
You can also do a
strikethroughby putting two tildes (~
) on each side:Output:
strikethroughIt's ok to mix up those stylings:
Output:
bold, italic and strikethroughLists
There's two kind of lists in Markdown: unordered (bulleted) and ordered (numbered). Since repl.it talk Markdown doesn't support ordered lists (sadly), we'll only deal with unordered lists.
An unordered list item starts with either a
*
,+
or-
followed by a space:Output:
Use indentations of 2 spaces to make sublists
Output:
Links
Just paste the URL and it'll work:
Output:
https://repl.it
If you want custom link text, try this:
[link text](URL)
:Output:
Repl.it
Images
The Markdown syntax for images is pretty simple:

:Output:

Wait... what if my image is stored in my computer? It doesn't have a URL!
Well, repl.it provided an easy way to upload images. All you need is to click the select files button below to upload it. After that, you'll see the Markdown code for your image in the text box.
Code
And finally, code!! Inline code and code blocks are widely used in repl.it talk since repl.it talk is a platform for coders to share.
Wrap a pair of backticks (
`
) around text to make a span of code (inline code):Output:
$ node index.js
To indicate a block of code, put three backticks (
```
) at both the start and end of your code:Output:
Additionally, repl.it supports code block syntax highlighting, which is pretty useful for emphasizing readability.
Just put the language name (or its short form) after the three backticks:
Output:
Blockquotes
To do blockquotes put a
>
before each line of the block:Output:
Don't forgot to leave a blank line after each blockquote!
Horzontal rules
A horzontal rule (a line that separates content) can be made of either three asterisks (
*
) or underscores (_
):Output:
There's a horizontal rule below
There's a horizontal rule above
That's all what I can teach in this very tutorial. Start using Markdown to style your posts, and find more about it!
Orginally posted (then deleted) by JSer. I revived because we link to it in the app
@LifiedaDoggo yes