diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-13 15:41:26 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-13 15:41:26 +0200 |
commit | 06b4ff3531874c95ec07b8440de526795408ef86 (patch) | |
tree | b412e5187d839e2ff9ee2cc4e4c2d743bc5d9cd6 /src/construct/code_indented.rs | |
parent | 4277dac07db06f24ba30a75b4c1dec542e32dae8 (diff) | |
download | markdown-rs-06b4ff3531874c95ec07b8440de526795408ef86.tar.gz markdown-rs-06b4ff3531874c95ec07b8440de526795408ef86.tar.bz2 markdown-rs-06b4ff3531874c95ec07b8440de526795408ef86.zip |
Add some improved docs
Diffstat (limited to '')
-rw-r--r-- | src/construct/code_indented.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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 //! -//! <!-- To do: link `flow`, `code_text` --> +//! <!-- To do: link `code_text` --> use crate::constant::TAB_SIZE; use crate::tokenizer::{Code, State, StateFnResult, TokenType, Tokenizer}; |