不要在意现在的低谷,未来还有很长的下坡路要走。

文章列表

1-1条,共1条数据.

prism 实现代码高亮测试

Written by Quinn Pan on 2020年3月27日 下午11:03:43. Posted in 编程技术

//使用prism实现代码高亮 const Prism = require('prismjs'); const loadLanguages = require('prismjs/components/'); loadLanguages(['haml']); // The code snippet you want to highlight, as a string const code = `= ['hi', 'there', 'reader!'].join...