How to format posts using markdown ¶
By: climu on Nov. 4, 2017, 2:24 p.m.
Paragraphe
You need to add one blank line to create a new paragraphe.
Input
Here's a line for us to start with.
This line is separated from the one above by two newlines, so it will be a *separate paragraph*.
This line is also a separate paragraph, but...
This line is only separated by a single newline, so it's a separate line in the *same paragraph*.
Ouput
Here's a line for us to start with.
This line is separated from the one above by two newlines, so it will be a separate paragraph.
This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the same paragraph.
Emphasis
Input
Emphasis, aka italics, with *asterisks* or _underscores_.
Strong emphasis, aka bold, with **asterisks** or __underscores__.
Combined emphasis with **asterisks and _underscores_**.
Strikethrough uses two tildes. ~~Scratch this.~~
Ouput
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. Scratch this.
Links
Input
There are two ways to create links.
[I'm an inline-style link](https://openstudyroom.org)
[I'm an inline-style link with title](https://openstudyroom.org "Best online go community")
[I'm a reference-style link][Arbitrary case-insensitive reference text]
[You can use numbers for reference-style link definitions][1]
Or leave it empty and use the [link text itself].
URLs and URLs in angle brackets will automatically get turned into links.
http://www.example.com or <http://www.example.com> and sometimes
example.com.
Some text to show that the reference links can follow later.
[arbitrary case-insensitive reference text]: https://senseis.xmp.net
[1]: https://gogameguru.com/
[link text itself]: http://www.reddit.com/r/baduk
Ouput
There are two ways to create links.
I'm an inline-style link with title
You can use numbers for reference-style link definitions
Or leave it empty and use the link text itself.
URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or http://www.example.com.
Some text to show that the reference links can follow later.
Images
Input
![alt text](https://openstudyroom.org/media/images/logo_nmBkzHU.original.png "OSR Logo")
Ouput
Quotes
Input
> Blockquotes are very handy in email to emulate reply text.
> This line is part of the same quote.
Quote break.
> This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote.
Ouput
Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.
Quote break.
This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.
Note:
This post is heavily inspired by this markdown cheatsheet under CC-BY
Last edited by: climu on Nov. 5, 2017, 10:31 a.m., edited 12 times in total.