aboutsummaryrefslogtreecommitdiff
path: root/test/command/7697.md
blob: eb9c823d03311b060612bf5b62eb35cb62649e4e (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
```
% pandoc -f rst -t mediawiki
.. _refsubpage1:

heading
-------

ref to top of this section: `refsubpage1`_.
^D
<span id="refsubpage1"></span>
= heading =

ref to top of this section: [[#refsubpage1|refsubpage1]].
```
```
% pandoc -f markdown -t mediawiki
# Heading {#foo}
^D
<span id="foo"></span>
= Heading =
```
```
% pandoc -f markdown -t mediawiki
# My Heading {#My_Heading}
^D
= My Heading =
```