Contents
- Headers
- Emphasis
- Lists
- Links
- Images
- Inline code
- Code blocks and Syntax highlighting
- Tables
- Block quotes
- Horizontal rules
Markdown
# H1
## H2
### H3
#### H4
##### H5
###### H6
Wikitext
=H1=
==H2==
===H3===
====H4====
=====H5=====
======H6======
Output
Markdown | Wikitext | Output |
---|---|---|
*italics* _italics_ |
''italic'' |
italics |
**bold** __bold__ |
'''bold''' |
bold |
~~strikethrough~~ <s>strikethrough</s> |
<s>strikethrough</s> |
(Spaces are indicated with dots: ⋅)
Markdown
* One
⋅⋅* One.one
⋅⋅⋅⋅* One.one.one
* Two
* Three
or
- One
- Two
+ One
+ Two
Wikitext
* One
** One.one
*** One.one.one
* Two
* Three
Output
- One
- One.one
- One.one.one
- One.one
- Two
- Three
Markdown
1. One
⋅⋅⋅1. One.one
⋅⋅⋅⋅⋅⋅1. One.one.one
2. Two
3. Three
Wikitext
# One
## One.one
### One.one.one
# Two
# Three
Output
- One
- One.one
- One.one.one
- One.one
- Two
- Three
Markdown | Wikitext | Output |
---|---|---|
[Internal link](/README.md) |
[[/README.md|Internal link]] |
Internal link |
[Internal section](/README.md#Links) |
[[README.md#Links|Internal section]] |
Internal section |
[External link](https://www.google.com) |
[https://www.google.com External link] |
External link |
Markdown | Wikitext | Output |
---|---|---|
`code` <code>code</code> |
<code>code</code> |
code |
Markdown
```javascript
var s = "JavaScript syntax highlighting";
console.log(s);
```
Wikitext
<syntaxhighlight lang="javascript">
var s = "JavaScript syntax highlighting";
console.log(s);
</syntaxhighlight>
Output
var s = "JavaScript syntax highlighting";
console.log(s);
Markdown
Header 1 | Header 2 | Header 3
--- | --- | ---
Cell 1 | Cell 2 | Cell 3
Cell 4 | Cell 5 | Cell 6
Wikitext
{|
! Header 1 !! Header 2 !! Header 3
|-
| Cell 1 || Cell 2 || Cell 3
|-
| Cell 4 || Cell 5 || Cell 6
|}
Output
Header 1 | Header 2 | Header 3 |
---|---|---|
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
Markdown
> Stay hungry, stay foolish
Wikitext
<blockquote>Stay hungry, stay foolish</blockquote>
Output
Stay hungry, stay foolish
Markdown
---
or ____
or ***
Wikitext
----
Output