Markdown Syntax
Articles can by styled with markdown syntax. The examples that follow will show some example markdown and what it renders.
A _fun_ example!
A fun example!
Headings
Content headings can be made by beginning the line with '#'.
# h1
## h2
### h3
#### h4
##### h5
###### h6
h1
h2
h3
h4
h5
h6
These are examples of invalid headers.
#no space
####### 7 is too many
\# escaped
# leading whitespace
#no space
####### 7 is too many
# escaped
# leading whitespace
Block Quotes
block quotes begin with '>'.
> This is a block quote.
> It can span
> multiple lines.
> It can also continue
without a leading '>'.
This is a block quote.
It can span multuple lines.
It can also continue without a leading '>'.
These are examples of invalid blockquotes.
>> double arrow
> leading whitespace
\> escaped
>> double arrow
> leading whitespace
> escaped
Code Blocks
Code blocks are formed with ```.
```
inside the block
```
back outside
```
_formatting_ doesn't *happen* in here
```
It's also valid to have an unclosed code block at the end of a document
```
like so
inside the block
back outside
_formatting_ doesn't *happen* in here
It's also valid to have an unclosed code block at the end of a document
like so
Paragraphs
Paragraphs are essentially everything else.
This is a paragraph.
It can continue onto a new line.
An empty line ends a paragraph and starts a new one.
This is a paragraph. It can continue onto a new line.
An empty line ends a paragraph and starts a new one.
Inline Formatting
You can apply style inline to paragraphs and block quotes
You can use _emphasis_ or *strong emphasis*.
You can also use _*both*_ at the same time.
This is a [link](https://www.google.com/) that can be internal or external.
For an internal link, just supply the path [like so](/howto.html).
You can use emphasis or strong emphasis.
You can also use both at the same time.
This is a link that can be internal or external.
For an internal link, just supply the path like so
Here are some cases where the inline formatting doesn't do anything.
too _ much _ whitespace
both on the _same _side
[*not* in](/markdown.html) links
\*escaped\*
too _ much _ whitespace
both on the _same _side
*not* in links
*escaped*
In the case of overlapping inline formatting, links take precedence over emphasis and strong emphasis, otherwise whichever was closed first takes precedence.
this *is [a* link](/markdown.html)
this _is *emphasized_ not* strong
this *is _strong* not_ emphasized
this *is a* link
this is *emphasized not* strong
this is _strong not_ emphasized