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

vue的代码快的样式是这样的,请教一下,怎么修改成这样的样式? #43

Open
332lfgb6 opened this issue Oct 7, 2021 · 5 comments

Comments

@332lfgb6
Copy link

332lfgb6 commented Oct 7, 2021

image

@332lfgb6
Copy link
Author

332lfgb6 commented Oct 7, 2021

上面的截图是vue官网的,但是实际上,我用这个主题时,效果是这样的
image
style标签,上面是红色的,下面是绿色的。

@332lfgb6
Copy link
Author

332lfgb6 commented Oct 7, 2021

还有js也有许多颜色不同。
image
上面是typora里面的,下面是vue官网的。
image

@blinkfox
Copy link
Owner

blinkfox commented Oct 9, 2021

你得使用代码主题,类似于 highlight.js 或者 prismjs 里面的 css 了。

@332lfgb6
Copy link
Author

332lfgb6 commented Oct 9, 2021

你得使用代码主题,类似于 highlight.js 或者 prismjs 里面的 css 了。

有没有保姆级教程,没有就凑合用算了,哈哈

@blinkfox
Copy link
Owner

blinkfox commented Oct 9, 2021

看看官方文档就行了,建议你就直接用默认的吧,差别不大。

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

No branches or pull requests

2 participants