Repository navigation
docs: fix the vue back button binding and the src/css path in contributing - #4888
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
thetaPC
marked this pull request as ready for review
November 20, 2026 23:36
ShaneK
approved these changes
Nov 23, 2026
ShaneK
left a comment
Member
There was a problem hiding this comment.
Looks good to me! There are a couple of things outside the diff that I think got missed:
- The playground generator in
_templates/playground/new/vue.md.ejs.tstill indents the import and the<style scoped>block, so every new playground starts out in the old shape and fails the prettier check in CI if someone commits it without running lint. - The camera sample's Vue tab in
docs/native-setup.mdxis still fenced astypescript. It's the only Vue sample left that isn't fenced asvue, and I thinklang="typescript"should belang="ts"there too.
Fine to do them here or as a follow-up, up to you! 🚀
| <TabItem value="vue"> | ||
|
|
||
| ```html | ||
| ```vue |
Member
There was a problem hiding this comment.
Since both of these blocks sit inside the mdx-code-block wrapper, prettier doesn't reach them, so the <script setup> bodies here and in the Overlays sample further down are still indented two spaces. They're the last Vue samples on the site like that, so I think they'll just need unindenting by hand.
thetaPC
force-pushed
the
docs/vue-code-fences
branch
from
November 23, 2026 23:29
fdb5c9a to
7e1e0a7
Compare
Co-authored-by: Shane <561207+ShaneK@users.noreply.github.com>
Co-authored-by: Shane <561207+ShaneK@users.noreply.github.com>
Co-authored-by: Shane <561207+ShaneK@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue URL: N/A
What is the current behavior?
html. The playground generator already writesvue, so only older samples usehtml.prism-vue.tspointshtmlat the Vue grammar.textwith Angular's[text]. Vue treats that as a plain attribute named[text], so the button never gets the text.src/styles, which no longer exists.What is the new behavior?
vue. Highlighting looks the same, since both labels already used the Vue grammar.vueblocks with its Vue parser, which removes the indent inside<script>. This matches the samples that were alreadyvue. It also joins some multi-line imports, writes.25as0.25in one progress bar sample, and adds parentheses around one arrow function assignment.:text, in v9 and v8.src/cssand links to its README.htmlalias are unchanged.Does this introduce a breaking change?
Other information
How to test
<script>contents are no longer indented.:text.Ignoring whitespace, the relabeling commits change only the fence labels: hide whitespace.
Stacked on #4883.