text text
Code span
|
`text`
|
text
|
---|
Paragraph
|
first paragraph
second paragraph
|
first paragraph
second paragraph
|
---|
Autolink
|
<https://example.com/destination>
|
https://example.com/destination
|
---|
Link
|
- Inline
-
[label](https://example.com/destination)
- Reference
-
[label][ref]
[ref]: https://example.com/destination
|
label
|
---|
Image
|
- Inline
-
![rust logo](rust-logo-151179464ae7ed46.svg)
- Reference
-
![rust logo][ref]
[ref]: rust-logo-151179464ae7ed46.svg
|
|
---|
Thematic break
|
***
---
___
|
|
---|
Heading
|
-
ATX style (h1-h6)
-
# H1
## H2
...
###### H6
-
Setext style (h1/h2 only)
-
H1
==
H2
--
|
|
---|
Fenced code
|
```rust
fn main() {}
```
~~~rust
fn main() {}
~~~
|
fn main() {}
|
---|
Indented code
|
••••fn main() {}
|
fn main() {}
|
---|
Block quote
|
> Don't believe everything you
> read on the Internet.
>
> — Abraham Lincoln
|
Don't believe everything you
read on the Internet.
— Abraham Lincoln
|
---|
Numbered list
|
1. first
2. second
|
- first
- second
|
---|
Bulleted list
|
- first
- second
* first
* second
+ first
+ second
|
|
---|
Hard line break
|
a\
b••
c
|
a
b
c
|
---|