flark_codemirror 0.5.0 copy "flark_codemirror: ^0.5.0" to clipboard
flark_codemirror: ^0.5.0 copied to clipboard

Syntax highlighting and indentation for 25 languages in Flark code blocks: CodeMirror's language modes ported to pure Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flark_codemirror

With Flutter:

 $ flutter pub add flark_codemirror

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flark_codemirror: ^0.5.0

Alternatively, 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_codemirror/flark_codemirror.dart';
0
likes
160
points
215
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Syntax highlighting and indentation for 25 languages in Flark code blocks: CodeMirror's language modes ported to pure Dart.

Repository (GitHub)
View/report issues

Topics

#syntax-highlighting #markdown #code #editor

License

MIT (license)

Dependencies

flark

More

Packages that depend on flark_codemirror