File: diff-commonmark.txt

package info (click to toggle)
mistune 3.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 856 kB
  • sloc: python: 4,006; makefile: 26; sh: 6
file content (76 lines) | stat: -rw-r--r-- 1,176 bytes parent folder | download | duplicates (2)
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
# Differences

Results different than commonmark.


## Setext headings


Example: 93


```````````````````````````````` example
> foo
bar
===
.
<blockquote>
<h1>foo
bar</h1>
</blockquote>
````````````````````````````````

If the dash is less than 3, it is not a `<hr>`, in this case, it
can be rendered into `<h2>`.

```````````````````````````````` example
- # Foo
- Bar
  --
  baz
.
<ul>
<li>
<h1>Foo</h1>
</li>
<li>
<h2>Bar</h2>
baz</li>
</ul>
````````````````````````````````

## Image

Example 573

```````````````````````````````` example
![foo ![bar](/url)](/url2)
.
<p><img src="/url2" alt="foo ![bar](/url)" /></p>
````````````````````````````````

## Link

Example 517

```````````````````````````````` example
[foo [bar](/uri)](/uri)
.
<p><a href="/uri">foo [bar](/uri)</a></p>
````````````````````````````````

Example 518

```````````````````````````````` example
[foo *[bar [baz](/uri)](/uri)*](/uri)
.
<p><a href="/uri">foo <em>[bar [baz](/uri)](/uri)</em></a></p>
````````````````````````````````

Example 519

```````````````````````````````` example
![[[foo](uri1)](uri2)](uri3)
.
<p><img src="uri3" alt="[foo](uri1)" /></p>
````````````````````````````````