-
-
Notifications
You must be signed in to change notification settings - Fork 754
feat: add syntax highlighting support #11006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for rspack ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
CodSpeed Performance ReportMerging #11006 will degrade performances by 17.05%Comparing Summary
Benchmarks breakdown
|
📦 Binary Size-limit
❌ Size increased by 1.01MB from 57.46MB to 58.48MB (⬆️1.76%)
|
…nostics (#10852) **Description:** Automatically prevent the creation of `miette::GraphicalReportHandler when no diagnostics are present. **Related issue:** See performance regression in web-infra-dev/rspack#11006
Summary
The first step for #10068.
Note
We haven't implement the
SpanContents
trait yet. So only those can be auto-detected have syntax highlighting now.E.g.:
Since the
MietteHighlighter
is private, we made a fork frommiette::hightlighters
.Related links
This is a port of zkat/miette#313.
Checklist