npm.io
0.53.0 • Published 3 weeks ago

@lexical/code

Licence
MIT
Version
0.53.0
Deps
3
Size
10 kB
Vulns
0
Weekly
0
Stars
23.9K

@lexical/code

See API Documentation

This package contains the functionality for the code blocks for Lexical. It is a thin re-export of @lexical/code-core and contains no syntax highlighting.

Code highlighting lives in its own packages: depend directly on @lexical/code-shiki or @lexical/code-prism for that. The deprecated prism re-exports that this package used to forward from @lexical/code-prism have been removed; import them from @lexical/code-prism instead.

Keywords