GFM mode

x
 
1
GitHub Flavored Markdown
2
========================
3
4
Everything from markdown plus GFM features:
5
6
## URL autolinking
7
8
Underscores_are_allowed_between_words.
9
10
## Strikethrough text
11
12
GFM adds syntax to strikethrough text, which is missing from standard Markdown.
13
14
~~Mistaken text.~~
15
~~**works with other fomatting**~~
16
17
~~spans across
18
lines~~
19
20
## Fenced code blocks (and syntax highlighting)
21
22
```javascript
23
for (var i = 0; i < items.length; i++) {
24
    console.log(items[i], i); // log them
25
}
26
```
27
28
## Task Lists
29
30
- [ ] Incomplete task list item
31
- [x] **Completed** task list item
32
33
## A bit of GitHub spice
34
35
* SHA: be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
36
* User@SHA ref: mojombo@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
37
* User/Project@SHA: mojombo/god@be6a8cc1c1ecfe9489fb51e4869af15a13fc2cd2
38
* \#Num: #1
39
* User/#Num: mojombo#1
40
* User/Project#Num: mojombo/god#1
41
42
See http://github.github.com/github-flavored-markdown/.
43
44

Optionally depends on other modes for properly highlighted code blocks.

Parsing/Highlighting Tests: normal, verbose.