flark 0.5.1
flark: ^0.5.1 copied to clipboard
Live Markdown editing kernel: comrak's CommonMark and GFM parse through FFI or Wasm, with the projection, caret model and commands hosts render.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flarkWith Flutter:
$ flutter pub add flarkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flark: ^0.5.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flark/flark.dart';