-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: Format code blocks at build time #9373
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
PHP plugin seems to choke on the top level I will wait on this for now until we have a clear idea of the preferred code formatting conventions among PHP developers |
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you add the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this works
Bundle ReportChanges will increase total bundle size by 1.55kB ⬆️
|
Can we push this through @lforst? |
Pre-merge checklist
If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.
Description of changes
Format code blocks at build time in a transpilation fashion using Prettier
Ignores code blocks with
diff
metadata to avoid confusion due to leading+
and-
charactersRight now supports languages that are supported of the box by Prettier, there's room for more support for other languages through plugins
resolves #9057