diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 12:34:23 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 12:34:23 +0200 |
commit | 0fcfeaf05a95ea17763a72d91b6aa1c01843d067 (patch) | |
tree | 616d82b6e1d5a1164c8d6db110bc73c6b3583c13 /src/construct/definition.rs | |
parent | 6a7462e031ccd5333628f232ba55ec27c8fda404 (diff) | |
download | markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.gz markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.bz2 markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.zip |
Add docs for token types
Diffstat (limited to 'src/construct/definition.rs')
-rw-r--r-- | src/construct/definition.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/construct/definition.rs b/src/construct/definition.rs index f8dc249..3dd1fbb 100644 --- a/src/construct/definition.rs +++ b/src/construct/definition.rs @@ -41,6 +41,24 @@ //! That means that [character escapes][character_escape] and //! [character references][character_reference] are allowed. //! +//! ## Tokens +//! +//! * [`Definition`][TokenType::Definition] +//! * [`DefinitionMarker`][TokenType::DefinitionMarker] +//! * [`DefinitionLabel`][TokenType::DefinitionLabel] +//! * [`DefinitionLabelMarker`][TokenType::DefinitionLabelMarker] +//! * [`DefinitionLabelString`][TokenType::DefinitionLabelString] +//! * [`DefinitionDestination`][TokenType::DefinitionDestination] +//! * [`DefinitionDestinationLiteral`][TokenType::DefinitionDestinationLiteral] +//! * [`DefinitionDestinationLiteralMarker`][TokenType::DefinitionDestinationLiteralMarker] +//! * [`DefinitionDestinationRaw`][TokenType::DefinitionDestinationRaw] +//! * [`DefinitionDestinationString`][TokenType::DefinitionDestinationString] +//! * [`DefinitionTitle`][TokenType::DefinitionTitle] +//! * [`DefinitionTitleMarker`][TokenType::DefinitionTitleMarker] +//! * [`DefinitionTitleString`][TokenType::DefinitionTitleString] +//! * [`LineEnding`][TokenType::LineEnding] +//! * [`Whitespace`][TokenType::Whitespace] +//! //! ## References //! //! * [`definition.js` in `micromark`](https://github.com/micromark/micromark/blob/main/packages/micromark-core-commonmark/dev/lib/definition.js) |