diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:24:05 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:24:05 +0200 |
commit | 79c3275f91f1c0867a1bfba3085c0682aa5486ef (patch) | |
tree | be30b9a8b755bc6bc01e3f9d59e7d69c60b80b24 /src/construct/definition.rs | |
parent | b0accb11f1aade55e9fc4dc0a1c1d1b8362ab5d9 (diff) | |
download | markdown-rs-79c3275f91f1c0867a1bfba3085c0682aa5486ef.tar.gz markdown-rs-79c3275f91f1c0867a1bfba3085c0682aa5486ef.tar.bz2 markdown-rs-79c3275f91f1c0867a1bfba3085c0682aa5486ef.zip |
Add support for normalizing identifiers
Diffstat (limited to 'src/construct/definition.rs')
-rw-r--r-- | src/construct/definition.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/construct/definition.rs b/src/construct/definition.rs index 57c62a5..3291f7f 100644 --- a/src/construct/definition.rs +++ b/src/construct/definition.rs @@ -131,11 +131,6 @@ pub fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { /// [a]|: b "c" /// ``` fn label_after(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { - // To do: get the identifier: - // identifier = normalizeIdentifier( - // self.sliceSerialize(self.events[self.events.length - 1][1]).slice(1, -1) - // ) - match code { Code::Char(':') => { tokenizer.enter(TokenType::DefinitionMarker); |