You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need some discussion. @Timeless0911
If I use the compile of mdxRs in the loader to obtain the code language used on the page, I can directly import the corresponding highlight method, which is faster but not suitable for disabledMdxRs.
Another way is to scan all the MD files before the compilation of Rspack and extract the code languages, but this means it consumes more performance, which requires providing a parameter called auto on the highlighter for users to choose. Is a certain performance loss necessary for such a feature?
What problem does this feature solve?
see details in #419
We can automatically analyze code block language to generate highlight configuration.
What does the proposed API look like?
none
The text was updated successfully, but these errors were encountered: