aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/character_escape.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/construct/character_escape.rs')
-rw-r--r--src/construct/character_escape.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/construct/character_escape.rs b/src/construct/character_escape.rs
index 5ea995e..7bab42d 100644
--- a/src/construct/character_escape.rs
+++ b/src/construct/character_escape.rs
@@ -1,5 +1,5 @@
-//! Character escapes are a construct that occurs in the string and text
-//! content types.
+//! Character escapes are a construct that occurs in the [string][] and
+//! [text][] content types.
//!
//! They’re formed with the following BNF:
//!
@@ -22,9 +22,11 @@
//! * [`character-escape.js` in `micromark`](https://github.com/micromark/micromark/blob/main/packages/micromark-core-commonmark/dev/lib/character-escape.js)
//! * [*§ 2.4 Backslash escapes* in `CommonMark`](https://spec.commonmark.org/0.30/#backslash-escapes)
//!
+//! [string]: crate::content::string
+//! [text]: crate::content::text
//! [character reference]: crate::construct::character_reference
//!
-//! <!-- To do: link `hard_break_escape`, `string`, `text` -->
+//! <!-- To do: link `hard_break_escape` -->
use crate::tokenizer::{Code, State, StateFnResult, TokenType, Tokenizer};