如何在微信公众号中优雅的显示代码
- 展示 macOS 菜单 icons
- 代码高亮
macOS 菜单 icons
- css 实现
- 背景图
代码高亮
- 插件
highlight.js
https://github.com/highlightjs/highlight.js
Prism.js
https://prismjs.com/index.html
https://github.com/PrismJS/prism/
SyntaxHighlighter
https://github.com/syntaxhighlighter/syntaxhighlighter
code-prettify
https://github.com/googlearchive/code-prettify
https://jmblog.github.io/color-themes-for-google-code-prettify/
demo
https://mp.weixin.qq.com/s/XvtSns_1xfBNetgVUtNkYg
复制粘贴页面
copy & paste
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!