https://github.com/khang-nd/markdown-wikitext
A cheatsheet mirroring Markdown and Wikitext
https://github.com/khang-nd/markdown-wikitext
cheatsheet markdown wikitext
Last synced: about 1 month ago
JSON representation
A cheatsheet mirroring Markdown and Wikitext
- Host: GitHub
- URL: https://github.com/khang-nd/markdown-wikitext
- Owner: khang-nd
- Created: 2021-01-11T15:10:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-14T04:57:53.000Z (over 4 years ago)
- Last Synced: 2025-05-02T20:46:32.698Z (about 1 month ago)
- Topics: cheatsheet, markdown, wikitext
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Markdown](https://en.wikipedia.org/wiki/Markdown) ↔ [Wikitext](https://en.wikipedia.org/wiki/Help:Wikitext)
**Contents**
1. [Headers](#headers)
2. [Emphasis](#emphasis)
3. [Lists](#lists)
4. [Links](#links)
5. [Images](#images)
6. [Inline code](#inline-code)
7. [Code blocks and Syntax highlighting](#code-blocks-and-syntax-highlighting)
8. [Tables](#tables)
9. [Block quotes](#block-quotes)
10. [Horizontal rules](#horizontal-rules)## Headers
**Markdown**
```
# H1
## H2
### H3
#### H4
##### H5
###### H6
```**Wikitext**
```
=H1=
==H2==
===H3===
====H4====
=====H5=====
======H6======
```**Output**
# H1
## H2
### H3
#### H4
##### H5
###### H6## Emphasis
Markdown | Wikitext | Output
-- | -- | --
`*italics*`
`_italics_` | `''italic''` | _italics_
`**bold**`
`__bold__` | `'''bold'''` | __bold__
`~~strikethrough~~`
`strikethrough` | `strikethrough` | ~~strikethrough~~## Lists
*(Spaces are indicated with dots: ⋅)*### Unordered
**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
* Two
* Three### Ordered
**Markdown**
```
1. One
⋅⋅⋅1. One.one
⋅⋅⋅⋅⋅⋅1. One.one.one
2. Two
3. Three
```**Wikitext**
```
# One
## One.one
### One.one.one
# Two
# Three
```**Output**
1. One
1. One.one
1. One.one.one
2. Two
3. Three## Links
Markdown | Wikitext | Output
-- | -- | --
`[Internal link](/README.md)` | `[[/README.md\|Internal link]]` | [Internal link](/README.md)
`[Internal section](/README.md#Links)` | `[[README.md#Links\|Internal section]]` | [Internal section](/README.md#Links)
`[External link](https://www.google.com)` | `[https://www.google.com External link]` | [External link](https://www.google.com)## Images
Markdown | Wikitext | Output
-- | -- | --
`` | `[[File:Github.png\|alt=Internal image]]` | 
`` | - | 
`[](https://github.com)` | `[[File:Github.png\|link=https://github.com]]` | [](https://github.com)## Inline code
Markdown | Wikitext | Output
-- | -- | --
`` `code` ``
`code
` | `code
` | `code`## Code blocks and Syntax highlighting
**Markdown**
````
```javascript
var s = "JavaScript syntax highlighting";
console.log(s);
```
````**Wikitext**
```
var s = "JavaScript syntax highlighting";
console.log(s);```
**Output**
```javascript
var s = "JavaScript syntax highlighting";
console.log(s);
```## Tables
**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## Block quotes
**Markdown**
```
> Stay hungry, stay foolish
```**Wikitext**
```
Stay hungry, stay foolish
```**Output**
> Stay hungry, stay foolish
## Horizontal rules
**Markdown**
`---` or `____` or `***`
**Wikitext**
`----`
**Output**
---