测试标签
本文就是为了测试标签功能!...
本文就是为了测试标签功能!...
明确需求 参考现有的各个系统的标签云,其实最主要的需求有如下几个。第一:能够根据文章的标签,归纳汇总出所有的标签,并且能够汇总每一个标签被关联或者引用的次数。第二:能够根据引用次数,给标签一个明确的视觉反馈,让引用次数多的标签尺寸大,反之变小。第三:点击每个标签,能够到新的页面,列出所有的关联文章。 前端设计与实现: TODO:待补充。 效果: 后端设计与实现: ...
//使用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...
For Git Bash, this can be fixed by adding the following line to ~/.bashrc: export TERM=cygwin -or- export TERM=msys The first seems to be the original by git for wind...