Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
document cross documet POD links
  • Loading branch information
lichtkind committed Oct 22, 2018
1 parent e1016a8 commit 5ddb341
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/Language/pod.pod6
Expand Up @@ -480,6 +480,10 @@ C<my $var = 1; say $var;>
=head2 Links
To create a link enclose it in C<L< >>
A vertical bar separates label (optional) and target.
The target location can be an URL (first example) or
a local POD document (second example).
=for code :skip-test
Perl 6 homepage L<https://perl6.org>
L<Perl 6 homepage|https://perl6.org>
Expand All @@ -488,6 +492,14 @@ Perl 6 homepage L<https://perl6.org>
L<Perl 6 homepage|https://perl6.org>
=for code :skip-test
Structure L</Language/about#structure>
L<Structure|/Language/about#structure>
Structure L</Language/about#structure>
L<Structure|/Language/about#structure>
To create a link to a section in the same document:
=for code :skip-test
Comments L<#Comments>
Expand Down

0 comments on commit 5ddb341

Please sign in to comment.