/dart-highlightjs

Simple example of Dart 1.13+ js interop, calling into HighlightJs API

Primary LanguageHTMLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dart-highlightjs

Simple example of Dart 1.13+ js interop, calling into highlightjs.org library API.

Live Demo available.

To run example yourself:

  • Assure you have Dart SDK 1.13+ installed and binaries on path
  • Clone repo into some directory
  • Run pub serve from that dir (should contain pubspec.yaml)
  • Browse to http://localhost:8080