aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/autolink.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-28 17:11:04 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-28 17:12:37 +0200
commit7bb1008f508f61b51dd80086a91ada347be36c68 (patch)
tree05a652df5d4230c756ed551df37fe3346a9447d5 /src/construct/autolink.rs
parent6e9447b5ec7f1823b7d08ed8f51eed23d3856cce (diff)
downloadmarkdown-rs-7bb1008f508f61b51dd80086a91ada347be36c68.tar.gz
markdown-rs-7bb1008f508f61b51dd80086a91ada347be36c68.tar.bz2
markdown-rs-7bb1008f508f61b51dd80086a91ada347be36c68.zip
Add some more crosslinks to docs
Diffstat (limited to 'src/construct/autolink.rs')
-rw-r--r--src/construct/autolink.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/construct/autolink.rs b/src/construct/autolink.rs
index e94066b..6486a2d 100644
--- a/src/construct/autolink.rs
+++ b/src/construct/autolink.rs
@@ -62,8 +62,8 @@
//! are not considered HTML.
//!
//! While `CommonMark` restricts links from occurring in other links in the
-//! case of bracketed links, this restriction is not in place for autolinks
-//! inside autolinks:
+//! case of labels (see [label end][label_end]), this restriction is not in
+//! place for autolinks inside labels:
//!
//! ```markdown
//! [<https://example.com>](#)
@@ -95,6 +95,7 @@
//! * [*ยง 6.4 Autolinks* in `CommonMark`](https://spec.commonmark.org/0.30/#autolinks)
//!
//! [text]: crate::content::text
+//! [label_end]: crate::construct::label_end
//! [autolink_scheme_size_max]: crate::constant::AUTOLINK_SCHEME_SIZE_MAX
//! [autolink_domain_size_max]: crate::constant::AUTOLINK_DOMAIN_SIZE_MAX
//! [sanitize_uri]: crate::util::sanitize_uri