aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/label_start_image.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-28 16:54:37 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-28 16:54:43 +0200
commit6e9447b5ec7f1823b7d08ed8f51eed23d3856cce (patch)
treec313716db1082e6cd1383af66297ce7acd4f1911 /src/construct/label_start_image.rs
parente9db93b428bc3da7c1fa3bcf8acf166012cf18c8 (diff)
downloadmarkdown-rs-6e9447b5ec7f1823b7d08ed8f51eed23d3856cce.tar.gz
markdown-rs-6e9447b5ec7f1823b7d08ed8f51eed23d3856cce.tar.bz2
markdown-rs-6e9447b5ec7f1823b7d08ed8f51eed23d3856cce.zip
Add docs to label end
Diffstat (limited to 'src/construct/label_start_image.rs')
-rw-r--r--src/construct/label_start_image.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/construct/label_start_image.rs b/src/construct/label_start_image.rs
index 97231e0..7725334 100644
--- a/src/construct/label_start_image.rs
+++ b/src/construct/label_start_image.rs
@@ -7,11 +7,10 @@
//! label_start_image ::= '!' '['
//! ```
//!
-//! Label start (images) relates to the `<img>` element in HTML.
+//! Label start (image) does not, on its own, relate to anything in HTML.
+//! When matched with a [label end][label_end], they together relate to the
+//! `<img>` element in HTML.
//! See [*ยง 4.8.3 The `img` element*][html-img] in the HTML spec for more info.
-//!
-//! Whether it contributes an image depends on whether it is followed by a
-//! valid [label end][label_end] or not.
//! Without an end, the characters (`![`) are output.
//!
//! ## Tokens