Skip to content
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

docs: use ANSI snippet instead of an vitepress-init.png #2875

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

0x009922
Copy link
Contributor

Description

Shiki supports ansi snippets, i.e. "terminal control sequences" colouring. I think it is better than the screenshot because:

  • It matches the overall theming, light/dark mode
  • More accessible, and text is copyable
  • Scalable text rendering, thus better quality & look

Demo

Compare the appearance of the image and the snippet:

Screen.Recording.2023-08-30.at.09.33.41.mov

@0x009922 0x009922 changed the title [docs]: use ANSI snippet instead of an vitepress-init.png feat: use ANSI snippet instead of an vitepress-init.png Aug 30, 2023
@0x009922 0x009922 changed the title feat: use ANSI snippet instead of an vitepress-init.png docs: use ANSI snippet instead of an vitepress-init.png Aug 30, 2023
@brc-dd brc-dd merged commit b0b3f5d into vuejs:main Aug 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants