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

怎么实现代码块高亮? #267

Open
stmoonar opened this issue Nov 28, 2023 · 1 comment
Open

怎么实现代码块高亮? #267

stmoonar opened this issue Nov 28, 2023 · 1 comment

Comments

@stmoonar
Copy link

怎么实现代码块高亮?像作者博客里那样的
image

@54853315
Copy link
Contributor

使用代码区块啊,然后给代码区块指定特殊的class name,比如想显示成yaml就填入language-yaml

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