Headers
Headers can be created two ways in markdown:
# My big h1 title!
## My smaller h2 title!
### My even smaller h3 title!
...
###### All the way up to h6!
as well as
Alternative big h1!
===================
My important text
This also works for h2!
-----------------------
My other important text
Hello, world!
With the second option, it is not required that the equal and dashes be exactly the same length as the header text. Simply adding at least two will suffice.
Lists
Ordered lists can be created simply by prefixing the list number like so:
1. One fish
2. Two fish
as well as
- One fish
- Two fish
while unordered lists can be created by prefixing a *
:
* Red fish
* Blue fish
as well as
+ Red fish
+ Blue fish
Quotes
Quotes can be created by prefixing a meme arrow Greater than symbol(>
):
>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Quotes can contain markdown as well!
> # Quotes
> Quotes can be created by prefixing a ~~meme arrow~~ Greater than symbol(`>`):
>```
>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
>```
> Quotes can contain markdown as well!
>> ...
Code
Single line code can be done by surrounding it with a backtick(`): `print("Hello, world!")`
If you need to surround multi-line code, you can do so by surrounding it with three backticks():
<pre><code>
def example():
print(“Hello, world!”)
“`
If your code contains three backticks, you can use two backticks(“) for inline, or four backticks(““) for block code.
Article formatting
You can apply font styles such as bold, italic, strike out, and even Combinations by using these:
*Italic* can also be represented as _italic_
**Bold** can be represented as __bold__ too.
Want to remove it? Just ~~Strike it out~~!
Horizontal lines can be created using any of the following:
* * *
***
*****
- - -
------------------------
If you need to use a * or other symbol without it destroying your article, just add a backslash \
like so: \*
Links
Need to link someone somewhere? Just [click here](https://google.com)
!
If you just want to make a link clickable without text, you can use s:
This even works for email addresses!: <John.Doe@example.com>
Images
Images can be embeded using a similar syntax to links, just prepend a !
!
For example, 