AtlatestRepositorysigil-doc

sigil-doc / tree / test / fixturesurl-links.sgd

1#lang sigil/doc/book
2@chapter["Links That Leave the Publication" authors: '("David Wilson")]{
3@section["Course Links" id: "course-links"]{
4@p{
5The Guile manual documents @url["https://www.gnu.org/software/guile/manual/html_node/String-Selection.html#index-substring"]{substring}
6and @url["https://www.gnu.org/software/guile/manual/html_node/Ports.html"]{ports}.
7}
8@p{
9Geiser is documented on @url["https://elpa.nongnu.org/nongnu/doc/geiser.html"]{NonGNU ELPA}, and Windows
10readers start at @url["https://www.msys2.org/#installation"]{the MSYS2 installer}.
13@section["Target Shapes" id: "shapes"]{
14@p{An empty body makes the target its own label: @url["http://example.org/plain"]{}.}
15@p{Correspondence works too: @url["mailto:david@example.com"]{David}.}
16@p{
17A target carrying characters that must be escaped rather than dropped:
18@url["https://example.com/search?a=1&b=<2>&c=\"3\""]{a hostile-looking query}.
20@p{An emphasized label stays inline: @url["https://example.com/em"]{@em{emphasis}}.}