Skip to content

feat: more enhanced code blocks (follow up for #3235) #3258

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AloisSeckar
Copy link
Contributor

Description of Problem

This is a follow up of #3235

During translating into Czech I originally found other two places where the filenames should be added into code blocks. When I switched to main vuejs/docs to implement those, I started to find more and ended up with this PR.

Proposed Solution

Hoist or infer filenames from codeblocks and add them as headers.

Sometimes, the code blocks change a bit, but I hope for the better.

Additional Information

I tried to went through all changes very carefully to verify them, including adjusting the hightlighted lines when necessary. I even think I find a few places, where it is not correct now on the live website. But as it is quite a large change, so I'll be happy to hear the feedback and I am ready to address any changes that might come necessary.

Copy link

netlify bot commented Jun 28, 2025

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit b7cbf76
🔍 Latest deploy log https://app.netlify.com/projects/vuejs/deploys/68604127e6b7330008164eda
😎 Deploy Preview https://deploy-preview-3258--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy