2021-11-19 05:03:06 +01:00
|
|
|
```
|
|
|
|
% 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
|
2021-11-19 18:05:19 +01:00
|
|
|
# My Heading {#My_Heading}
|
2021-11-19 05:03:06 +01:00
|
|
|
^D
|
2021-11-19 18:05:19 +01:00
|
|
|
= My Heading =
|
2021-11-19 05:03:06 +01:00
|
|
|
```
|