Closed
Description
Is your feature request related to a problem? Please describe.
Follow-up from #1177, is there a way to reduce bundle size by opting out from some languages?
Even though the languages have been filtered out as per discussion in the PR, they are still bundled in the production assets.
Screenshot attached below.
Also there does not seem to be any documentation about configuring the code block in the docs website.
Describe the solution you'd like
- Provide the option to configure the Code Block, especially supported languages.
- Tree-shake the unused languages.
- Update the documentation to include an example of configuring the Code Block.
Additional context
This is generated by running npm run build
with Remix framework.

Bonus
I am willing to help if someone can point me in the right direction regarding the tree-shaking.
Thank you so much for creating BlockNote! ❤️