highlight 0.1.0 copy "highlight: ^0.1.0" to clipboard
highlight: ^0.1.0 copied to clipboard

outdated

Dart syntax highlighter with lots of languages and styles, zero dependencies and automatic language detection.

example/highlight_example.dart

import 'package:highlight/highlight.dart';

main() {
  var input = '''main() {
  print("Hello, World!");
}  
''';
  var h = Highlight();
  var result = h.parse(input);

  result.toHtml();
}
50
likes
0
pub points
95%
popularity

Publisher

unverified uploader

Dart syntax highlighter with lots of languages and styles, zero dependencies and automatic language detection.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on highlight