t/data/snippets/url
raw| 1 | [name] |
| 2 | URL formatting |
| 3 | |
| 4 | [input] |
| 5 | =head1 URLs |
| 6 | |
| 7 | URL with L<anchor text|http://example.com/>. |
| 8 | |
| 9 | URL without anchor text: L<http://example.com/>. |
| 10 | |
| 11 | [output] |
| 12 | \heading[][] |
| 13 | |
| 14 | \h2(#S1)[URLs] |
| 15 | |
| 16 | URL with \link[http://example.com/][anchor text]. |
| 17 | |
| 18 | URL without anchor text: <\link[http://example.com/][http://example.com/]>. |
| 19 | |
| 20 | \signature |