Open Sunbreak opened 3 years ago
We are using https://highlightjs.org/ for that, but I'm not sure if there is anybody closely following the Dart language rules there. Maybe @kevmoo or @srawlins can help out pointing to the right direction?
CC @mit-mit and @devoncarew
We try to keep track of our solutions here https://github.com/dart-lang/dart-syntax-highlight
Seems it is the word interface
that throws off the syntax highlighting. interface
is a "⟨BUILT_IN_IDENTIFIER⟩" in dart, it is not a keyword, and can be used as a variable-name - but is treated as a keyword by highlightjs.
Dart code after
inteface
shows in wrong color on https://pub.dev/packages/quick_usbProbably issue within https://github.com/dart-lang/markdown