aboutsummaryrefslogtreecommitdiffstats
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-13 12:37:25 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-13 12:37:25 +0200
commitefdf90959f78d1582da312bffbefaabb79f264b7 (patch)
treea36c7dfa72ec5cadfdb296d94aed2d06a871b701 /src/tokenizer.rs
parent17f4eec55ad0a5f74aedbcff6c2f0119ad52e584 (diff)
downloadmarkdown-rs-efdf90959f78d1582da312bffbefaabb79f264b7.tar.gz
markdown-rs-efdf90959f78d1582da312bffbefaabb79f264b7.tar.bz2
markdown-rs-efdf90959f78d1582da312bffbefaabb79f264b7.zip
Add autolinks
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 4d235ed..4c1caa4 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -20,6 +20,11 @@ use std::collections::HashMap;
// To do: document each variant.
#[derive(Debug, Clone, PartialEq)]
pub enum TokenType {
+ Autolink,
+ AutolinkMarker,
+ AutolinkProtocol,
+ AutolinkEmail,
+
AtxHeading,
AtxHeadingSequence,
AtxHeadingWhitespace,