aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/code_fenced.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 12:34:23 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-22 12:34:23 +0200
commit0fcfeaf05a95ea17763a72d91b6aa1c01843d067 (patch)
tree616d82b6e1d5a1164c8d6db110bc73c6b3583c13 /src/construct/code_fenced.rs
parent6a7462e031ccd5333628f232ba55ec27c8fda404 (diff)
downloadmarkdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.gz
markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.tar.bz2
markdown-rs-0fcfeaf05a95ea17763a72d91b6aa1c01843d067.zip
Add docs for token types
Diffstat (limited to 'src/construct/code_fenced.rs')
-rw-r--r--src/construct/code_fenced.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs
index f79705c..724a0b3 100644
--- a/src/construct/code_fenced.rs
+++ b/src/construct/code_fenced.rs
@@ -75,6 +75,17 @@
//! support for specifying the programming language, so it is recommended to
//! use code (fenced) instead of code (indented).
//!
+//! ## Tokens
+//!
+//! * [`CodeFenced`][TokenType::CodeFenced]
+//! * [`CodeFencedFence`][TokenType::CodeFencedFence]
+//! * [`CodeFencedFenceSequence`][TokenType::CodeFencedFenceSequence]
+//! * [`CodeFencedFenceInfo`][TokenType::CodeFencedFenceInfo]
+//! * [`CodeFencedFenceMeta`][TokenType::CodeFencedFenceMeta]
+//! * [`CodeFlowChunk`][TokenType::CodeFlowChunk]
+//! * [`LineEnding`][TokenType::LineEnding]
+//! * [`Whitespace`][TokenType::Whitespace]
+//!
//! ## References
//!
//! * [`code-fenced.js` in `micromark`](https://github.com/micromark/micromark/blob/main/packages/micromark-core-commonmark/dev/lib/code-fenced.js)