diff options
Diffstat (limited to 'src/lexer/lexer.zig')
| -rw-r--r-- | src/lexer/lexer.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer/lexer.zig b/src/lexer/lexer.zig index 034f134..873d40b 100644 --- a/src/lexer/lexer.zig +++ b/src/lexer/lexer.zig @@ -87,8 +87,8 @@ pub const Lexer = struct { if (is('#', 6, rune, acc)) return .{ .kind = .title }; if (isIn(links, rune, acc, before, .link)) return .{ .kind = .link }; if (isOneOrThree(":", rune, acc, .ref, .callout)) |it| return it; - if (isOneOrThree("$", rune, acc, .math, .math)) |it| return it; - if (isOneOrThree("`", rune, acc, .code, .code)) |it| return it; + if (isOneOrThree("$", rune, acc, .math, .math_block)) |it| return it; + if (isOneOrThree("`", rune, acc, .code, .code_block)) |it| return it; return .{ .kind = .literal }; } }; |
