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

Comment handling #121

Closed
arashsaffari opened this issue Dec 8, 2020 · 1 comment
Closed

Comment handling #121

arashsaffari opened this issue Dec 8, 2020 · 1 comment

Comments

@arashsaffari
Copy link

arashsaffari commented Dec 8, 2020

Hi
Is there a way to ignore inline comments?
e.g .:
5 + 5 // This is a comment and 10 + 8 should not be parsed
5 + 5 # This is a comment too

@6utt3rfly
Copy link
Collaborator

Fixed in #149 in the v1.0.0 release of the comment plugin. That plugin ignores // and /* ... */, but not #. However, that could be added by using the hooks, similar to how the plugin does it)

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

2 participants