mitex-rs/mitex

Distinguish between inline equations and block equations

OrangeX4 opened this issue · 1 comments

Currently, Lexer treats a single dollar sign and multiple dollar signs as the same token, so we can't distinguish between an inline equation and a block equation.

#[regex(r"\$\$?")]
Dollar,

This can be distinguished by checking the content of the dollar token