Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinguish between inline equations and block equations #73

Closed
OrangeX4 opened this issue Dec 26, 2023 · 1 comment
Closed

Distinguish between inline equations and block equations #73

OrangeX4 opened this issue Dec 26, 2023 · 1 comment
Labels

Comments

@OrangeX4
Copy link
Member

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,

@Myriad-Dreamin
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants