Replies: 3 comments 2 replies
-
Not sure I'm following. The only package that uses prism is lexical-code. Unless you're using that (or the dependent CodeHighlightPluing in lexical-react), you're getting prism. It'd probably be good to make the code highlighting library agnostic, but if you want code highlighting, you need something like prism or you need to write something like it yourself. |
Beta Was this translation helpful? Give feedback.
-
Note that using the Markdown plugin also results in prismjs being included in your code |
Beta Was this translation helpful? Give feedback.
-
Prismjs as a requirement for lexical-markdown also seems to cause issues in non-react enviroments (e.g. Vite) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any plans to remove prismjs as a dependency? It adds a considerable size increase to the package.
Beta Was this translation helpful? Give feedback.
All reactions