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):
This math is inline
This is on a separate line:

