diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:51 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-04 12:16:58 +0200 |
commit | faca28020f4894bdfcf5a4b164ebbc75864d8776 (patch) | |
tree | 93377413ae8c355e2d804f7e700241693b228e70 /src/tokenizer.rs | |
parent | e1cae8c705e66669d043f5269e9f58c09c7b0eaa (diff) | |
download | markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.gz markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.tar.bz2 markdown-rs-faca28020f4894bdfcf5a4b164ebbc75864d8776.zip |
Add support for attention (emphasis, strong)
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r-- | src/tokenizer.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs index b70e706..282c99f 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -1593,6 +1593,15 @@ pub enum TokenType { /// ^ ^ ^ /// ``` ThematicBreakSequence, + Strong, + StrongSequence, + StrongText, + Emphasis, + EmphasisSequence, + EmphasisText, + // To do: this is removed. + // Should it reuse something e.g., emphasis? Data? + AttentionSequence, } /// Embedded content type. |