Debian Codegraph @

tests/testsuite/print/relative_links/src/second/nested.md

raw
1 # Testing relative links for the print page
2
3 When we link to [the first section](../first/nested.md), it should work on
4 both the print page and the non-print page.
5
6 The same link should work [with an html extension](../first/nested.html).
7
8 A [fragment link](#some-section) should work.
9
10 Link [outside](../../std/foo/bar.html).
11
12 Link [outside with anchor](../../std/foo/bar.html#panic).
13
14 Link [inside but doesn't exist](../first/alpha/beta.md).
15 Link [inside but doesn't exist with anchor](../first/alpha/beta.md#anchor).
16 Link [inside to html](../first/alpha/gamma.html).
17 Link [inside to html with anchor](../first/alpha/gamma.html#anchor).
18
19 ![Some image](../images/picture.png)
20
21 <a href="../first/nested.md">HTML Link</a>
22
23 <img src="../images/picture.png" alt="raw html">
24
25 ## Some section
26
27 [Links with scheme shouldn't be touched.](https://example.com/foo.html#bar)
28
29 <a href="../images/not-html?arg1&arg2#with-anchor">Non-html link</a>