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

这里如何使语法高亮呢 #14

Closed
kurisLei opened this issue May 25, 2019 · 3 comments
Closed

这里如何使语法高亮呢 #14

kurisLei opened this issue May 25, 2019 · 3 comments

Comments

@kurisLei
Copy link

这里如何使语法高亮呢

@HarryChen0506
Copy link
Owner

可以使用highlight.js来做语法高亮。由于添加高亮功能会使得这个项目库的体积变得很大,违背了项目的轻量化的初衷,所以我关掉了高亮功能。你可以fork我的项目,把注释掉的代码打开即可。

@kurisLei
Copy link
Author

可以使用highlight.js来做语法高亮。由于添加高亮功能会使得这个项目库的体积变得很大,违背了项目的轻量化的初衷,所以我关掉了高亮功能。你可以fork我的项目,把注释掉的代码打开即可。

谢谢,看到你注释的代码了。

@HarryChen0506
Copy link
Owner

0.4.0可以支持代码高亮了,不过需要自行配置

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