aboutsummaryrefslogtreecommitdiff
path: root/test/command/3475.md
blob: afba4ea3cc77b1ed952c8fef97e17fc95e691bc0 (plain)
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
RST implicit internal links to headers:

```
pandoc -f rst
Years
-----

Years_
^D
<h1 id="years">Years</h1>
<p><a href="#years">Years</a></p>
```

```
pandoc -f rst
Years_

Years
-----
^D
<p><a href="#years">Years</a></p>
<h1 id="years">Years</h1>
```

```
pandoc -f rst
Years and years
---------------

`Years and years`_
^D
<h1 id="years-and-years">Years and years</h1>
<p><a href="#years-and-years">Years and years</a></p>
```

```
pandoc -f rst
Years and *years*
-----------------

`Years and years`_
^D
<h1 id="years-and-years">Years and <em>years</em></h1>
<p><a href="#years-and-years">Years and years</a></p>
```