File: internal-links

package info (click to toggle)
libpod-thread-perl 3.01-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 368 kB
  • sloc: perl: 1,060; makefile: 3
file content (36 lines) | stat: -rw-r--r-- 640 bytes parent folder | download
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
[name]
Internal section links

[input]
=head1 FOO

Some foo stuff with L</BAR> forward reference.

=head1 BAR

Some bar stuff linking to L</"FOO">.

=head1 FOO BAR

Can link to myself: L</FOO BAR>.  But links to L</NOWHERE> should
disappear and links to L<Other::Module/FOO> should get the default text.

=cut

[output]
\heading[][]

\h2(#S1)[FOO]

Some foo stuff with \link[#S2][BAR] forward reference.

\h2(#S2)[BAR]

Some bar stuff linking to \link[#S1][FOO].

\h2(#S3)[FOO BAR]

Can link to myself: \link[#S3][FOO BAR].  But links to NOWHERE should
disappear and links to "FOO" in Other::Module should get the default text.

\signature