lexical_code 1.2.0 copy "lexical_code: ^1.2.0" to clipboard
lexical_code: ^1.2.0 copied to clipboard

Code blocks and syntax highlighting for lexical_core: 15 languages, wire-compatible with Lexical's @lexical/code. Pure Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lexical_code

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

dependencies:
  lexical_code: ^1.2.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lexical_code/lexical_code.dart';
0
likes
0
points
598
downloads

Publisher

verified publisherahmadre.com

Weekly Downloads

Code blocks and syntax highlighting for lexical_core: 15 languages, wire-compatible with Lexical's @lexical/code. Pure Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

lexical_core, meta

More

Packages that depend on lexical_code