Tests of automatic header ID generation.
No newlines:
- a
- b
- c
Newlines:
-
a
-
b
-
c
Some newlines:
-
first
-
after newline
-
not after newline
Ordered:
- 1
- 2
- 3
Only 1:
- 1
- 1
- 1
Start 2:
- 2
- 3
- 4
Inner list:
- 1
- 2
- list
- 3
Inner list:
- 1
- 1
- list
- 1
Inner list 1:
-
1
-
1
- list
- list
-
1
Inner par list:
-
1
-
1
- list
- list
-
1
Inner par ordered list:
-
1
-
1
- list
- list
-
1
Inner par:
-
1
-
1
par
-
1
Nested:
-
par
-
nopar
-
nopar
-
nopar
-
par
-
par
-
par
-
-
-
par
-
par
Code in list with one indent:
-
a
b
Very picky about table format. There must be the right amount of pipes, 3 consecutive hyphens per column of the separator line:
| a | b |
|---|---|
| c | d |
No outer pipes:
| a | b |
|---|---|
| c | d |
4 hyphens:
| a | b |
|---|---|
| c | d |
Space 3 hyphens:
| a | b |
|---|---|
| c | d |
3 hyphens space:
| a | b |
|---|---|
| c | d |
hyphen space 2 hyphens:
| a | b | |- --|---| | c | d |
2 hyphens:
| a | b |
|---|---|
| c | d |
no pipes:
| a | b | |-------| | c | d |
Automatic: http://example.com
Link inside link: [http://example1.com](http://example2.com)
Weird characters: with and without angle brackets:
' http://example.com/ab'cd http://example.com/ab'cd
" http://example.com/ab"cd http://example.com/ab"cd
! http://example.com/ab!cd http://example.com/ab!cd
$ http://example.com/ab$cd http://example.com/ab$cd
& http://example.com/ab&cd http://example.com/ab&cd
( http://example.com/ab(cd http://example.com/ab(cd
) http://example.com/ab)cd http://example.com/ab)cd
* http://example.com/ab*cd http://example.com/ab*cd
+ http://example.com/ab+cd http://example.com/ab+cd
, http://example.com/ab,cd http://example.com/ab,cd
- http://example.com/ab-cd http://example.com/ab-cd
. http://example.com/ab.cd http://example.com/ab.cd
/ http://example.com/ab/cd http://example.com/ab/cd
: http://example.com/ab:cd http://example.com/ab:cd
; http://example.com/ab;cd http://example.com/ab;cd
= http://example.com/ab=cd http://example.com/ab=cd
? http://example.com/ab?cd http://example.com/ab?cd
@ http://example.com/ab@cd http://example.com/ab@cd
_ http://example.com/ab_cd http://example.com/ab_cd
~ http://example.com/ab~cd http://example.com/ab~cd
a.md.
d/. 14-11: GitHub renders links to blob, even if pointing to tree, and redirects blob to tree. GitLab also redirects, but renders trees as tree links directly.
...
Automatic relative link: <a.md>. Fails because would conflict with HTML tags.
https://user-images.githubusercontent.com/1429315/103039458-deb12a00-4568-11eb-9281-7cb8550666ca.mp4 uploaded at cirosantilli/china-dictatorship#169
User: @cirosantilli
Commit: cirosantilli/test-github@master
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
script:
<div>a</div>:
</div>:
#: #
Ӓ: Ӓ
Ϡ: Ϡ
�: �
For compilers that treat h1 magically (e.g. add to a TOC):
https://docs.gitlab.com/ee/user/markdown.html#math
This math is inline
This is on a separate line:

