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.

Changelog #

0.5.0 #

First public preview.

  • Highlighting and indentation for code blocks in 25 languages: CodeMirror 5 and @codemirror/legacy-modes ported to pure Dart and checked token for token against the upstream modes.
  • Untagged code blocks are detected from per-language signs; fence names resolve through common aliases (js, py, sh, yml, …).
  • FlarkCodeMirror.only([...]) keeps the languages an app does not name out of its build.
0
likes
160
points
233
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