aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_label.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/partial_label.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/partial_label.rs')
-rw-r--r--src/construct/partial_label.rs16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/construct/partial_label.rs b/src/construct/partial_label.rs
index dd8ee84..2e8e950 100644
--- a/src/construct/partial_label.rs
+++ b/src/construct/partial_label.rs
@@ -37,9 +37,11 @@
//! > `y`.
//! >
//! > The thing that contains `x` is not a single thing when parsing markdown,
-//! > but instead constists of an opening (label start (image) or label start
-//! > (link)) and a closing (label end), so as to allow further phrasing such
-//! > as code (text) or attention.
+//! > but instead constists of an opening
+//! > ([label start (image)][label_start_image] or
+//! > [label start (link)][label_start_link]) and a closing
+//! > ([label end][label_end]), so as to allow further phrasing such as
+//! > [code (text)][code_text] or attention.
//!
//! ## References
//!
@@ -49,11 +51,13 @@
//! [string]: crate::content::string
//! [character_escape]: crate::construct::character_escape
//! [character_reference]: crate::construct::character_reference
+//! [label_start_image]: crate::construct::label_start_image
+//! [label_start_link]: crate::construct::label_start_link
+//! [label_end]: crate::construct::label_end
+//! [code_text]: crate::construct::code_text
//! [link_reference_size_max]: crate::constant::LINK_REFERENCE_SIZE_MAX
//!
-//! <!-- To do: link label end, label starts. -->
-
-// To do: pass token types in.
+//! <!-- To do: link attention. -->
use super::partial_space_or_tab::{
space_or_tab_one_line_ending_with_options, OneLineEndingOptions,