We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For this input:
class MyClass { }
we get the correct result:
Add a number sign:
class MyClass { }#
and nothing is parsed:
Note that language is also null although java is explicitly passed.
null
java
import 'package:highlight/highlight_core.dart'; import 'package:highlight/languages/java.dart'; void main() { highlight.registerLanguage('java', java); const text = ''' class MyClass { } '''; final result = highlight.parse(text, language: 'java'); print(result.nodes); const textNumber = ''' class MyClass { }# '''; final resultNumber = highlight.parse(textNumber, language: 'java'); print(resultNumber.nodes); }
[Instance of 'Node', Instance of 'Node', Instance of 'Node'] [Instance of 'Node']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For this input:
we get the correct result:
Add a number sign:
and nothing is parsed:
Note that language is also
null
althoughjava
is explicitly passed.Code
Output
The text was updated successfully, but these errors were encountered: