From 06b4ff3531874c95ec07b8440de526795408ef86 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 13 Jun 2022 15:41:26 +0200 Subject: Add some improved docs --- src/construct/character_escape.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/construct/character_escape.rs') 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 //! -//! +//! use crate::tokenizer::{Code, State, StateFnResult, TokenType, Tokenizer}; -- cgit