-
Notifications
You must be signed in to change notification settings - Fork 16
/
markdown.language.txt
101 lines (69 loc) · 4.08 KB
/
markdown.language.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MARKDOWN
GOAL ==> #Plain text readable syntax that can be translated to HTML.
#Used for simply formatted text, where content matters most.
#Examples: source code, online forums messages, documentation, etc.
/=+===============================+=\
/ : : \
)==: SYNTAX :==(
\ :_______________________________: /
\=+===============================+=/
GITHUB EXTENSIONS ==> ###
WHITESPACES ==> #Space matters
ESCAPING ==> #Escape < > " ' &, unless part of HTML tags.
#Must escape Markdown syntax chars with \
STR
STR2 #<p>STR</p><p>STR2</p>
STR
STR2 #STR<br>STR2 (2 spaces at end of STR)
STR
STR2 ###STR<br>STR2
***
* * *
- - - #<hr>
- STR
- STR2
+ STR
+ STR2
* STR
* STR2 #<ul><li>STR<ul><li>STR2</li></ul></li></ul>
1. STR
1.1 STR2 #<ol><li>STR<ol><li>STR2</li></ol></li></ol>
STR
=== #<h1>STR</h1>
STR
--- #<h2>STR</h2>
# STR #<h1>STR</h1>
## STR #<h2>STR</h2>
### STR #<h3>STR</h3>
#### STR #<h4>STR</h4>
##### STR #<h5>STR</h5>
###### STR #<h6>STR</h6>
[STR](URL) #<a href="URL">STR</a>
[STR](URL "STR3") #<a href="URL" title="STR3">STR</a>
[STR][STR2]
... #<a href="URL" title="STR3">STR</a>
[STR2]: URL "STR3" #Can also use [STR][] meaning [STR][STR]
!... #Like <a href> but with <img src="URL" alt="STR">
<URL> #<a href="URL">URL</a>
URL ###<a href="URL">URL</a>
:STR: ###Emoji
*STR*
_STR_ #<em>STR</em>
**STR**
__STR__ #<strong>STR</strong>
~~STR~~ #<del>STR</del>
> STR #<blockquote>STR</blockquote>
`STR` #<code>STR</code>
```STR``` ###
STR #<pre><code>STR</code></pre>
```STR3\nSTR``` ###<pre><code class="lang-STR3">STR</code></pre>
| STR | STR2 | ###<table><thead><tr><th>STR</th><th>STR3</th></tr></thead>
|------|------| ###<tbody><tr><td>STR3</td><td>STR4</td></tr></tbody></table>
| STR3 | STR4 | ###Do :----, :----: or ----: to define columns align
- [ ] STR
- [x] STR2 ###Checkboxes
[NAME[/REPO]@]COMMIT_ID ###Link to commit ID
[NAME[/REPO]#]ISSUE_ID ###Link to issue ID
@NAME ###Link to profile, and notifies person