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

Feature request: unary operators #120

Open
t1u1 opened this issue Aug 10, 2024 · 0 comments
Open

Feature request: unary operators #120

t1u1 opened this issue Aug 10, 2024 · 0 comments

Comments

@t1u1
Copy link

t1u1 commented Aug 10, 2024

It would be nice if unary operators are detected.

For example, a - -b can be parsed and rendered as:

<mi>a</mi><mo>−</mo><mrow><mi>-b</mi></mrow>

instead of

<mi>a</mi><mo>−</mo><mrow><mo>−</mo><mi>b</mi></mrow>

Edit:
If the above is difficult, then it could be detected in unfenced groups. For example: a - {: -b :}

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

No branches or pull requests

1 participant