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/code_indented.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/construct/code_indented.rs') diff --git a/src/construct/code_indented.rs b/src/construct/code_indented.rs index 6bf089b..936f174 100644 --- a/src/construct/code_indented.rs +++ b/src/construct/code_indented.rs @@ -1,4 +1,4 @@ -//! Code (indented) is a construct that occurs in the flow content type. +//! Code (indented) is a construct that occurs in the [flow][] content type. //! //! It forms with the following BNF: //! @@ -31,11 +31,12 @@ //! * [`code-indented.js` in `micromark`](https://github.com/micromark/micromark/blob/main/packages/micromark-core-commonmark/dev/lib/code-indented.js) //! * [*ยง 4.4 Indented code blocks* in `CommonMark`](https://spec.commonmark.org/0.30/#indented-code-blocks) //! +//! [flow]: crate::content::flow //! [code-fenced]: crate::construct::code_fenced //! [html-pre]: https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element //! [html-code]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element //! -//! +//! use crate::constant::TAB_SIZE; use crate::tokenizer::{Code, State, StateFnResult, TokenType, Tokenizer}; -- cgit