From 0fcfeaf05a95ea17763a72d91b6aa1c01843d067 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 22 Jun 2022 12:34:23 +0200 Subject: Add docs for token types --- src/construct/code_text.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/construct/code_text.rs') diff --git a/src/construct/code_text.rs b/src/construct/code_text.rs index 94e0106..70b3805 100644 --- a/src/construct/code_text.rs +++ b/src/construct/code_text.rs @@ -65,6 +65,13 @@ //! that the code is in, so it is recommended to use that instead of indented //! code. //! +//! ## Tokens +//! +//! * [`CodeText`][TokenType::CodeText] +//! * [`CodeTextData`][TokenType::CodeTextData] +//! * [`CodeTextSequence`][TokenType::CodeTextSequence] +//! * [`CodeTextLineEnding`][TokenType::CodeTextLineEnding] +//! //! ## References //! //! * [`code-text.js` in `micromark`](https://github.com/micromark/micromark/blob/main/packages/micromark-core-commonmark/dev/lib/code-text.js) -- cgit