-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(theme-common): code block magic comments should support SQL block comments #10782
Conversation
Add jsBlock comment style to sql code block.
✅ [V2]Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
⚡️ Lighthouse report for the deploy preview of this PR
|
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.
That looks fine but I have no easy way to review
Can you add a dogfood test in docusaurus/website/_dogfooding/_pages tests/code-block-tests.mdx
?
https://docusaurus.io/tests/pages/code-block-tests#magic-comments-tests
Thanks for the input, I will update tests. |
Added test in https://docusaurus.io/tests/pages/code-block-tests#magic-comments-tests Using block comment style.
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.
Thanks, looks like it's working 🥳
Pre-flight checklist
Motivation
Code block magic comments should support SQL block comments
/* comment */
Test Plan
Dogfood / preview
Test links
https://deploy-preview-10782--docusaurus-2.netlify.app/tests/pages/code-block-tests#magic-comments-tests
Related issues/PRs
Fix #10748