@lexical/code
Version:
This package contains the functionality for the code blocks and code highlighting for Lexical.
9 lines (5 loc) • 482 B
Markdown
# `/code`
[](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 `/code-shiki` or `/code-prism`.