UNPKG

@lexical/code

Version:

This package contains the functionality for the code blocks and code highlighting for Lexical.

9 lines (5 loc) 482 B
# `@lexical/code` [![See API Documentation](https://lexical.dev/img/see-api-documentation.svg)](https://lexical.dev/docs/api/modules/lexical_code) This package contains the functionality for the code blocks and code highlighting for Lexical. Note that the prism highlighting functionality from this module is deprecated and will be removed in a future version of lexical. If you intend to use code highlighting, depend directly on `@lexical/code-shiki` or `@lexical/code-prism`.