近期,GitHub 上线了 GitHub README profile 的功能,于是我的首页多了一些 GitHub 的代码信息。

创建 README profile 非常简单:
- 创建一个仓库,仓库的名字与你 GitHub 的 username 保持一致,比如我的是
ShixiangWang
(这里大小写无所谓,GitHub 并不区分)。创建时如果选择初始化一个 README 就不需要进行下面一步了。

- 创建一个
README.md
文件。
在这里你所填入的所有信息都会被及时渲染到 GitHub 首页啦,支持常规的 Markdown 语法。
当然有人不仅仅满足于一般的文字了,有前端大神就写出了一些有用的代码用于展示,在 https://github.com/abhisheknaiidu/awesome-github-profile-readme 可以找到很多内容。
我使用的是 https://github.com/anuraghazra/github-readme-stats
只需要在文档中加入一句代码:
[](https://github.com/anuraghazra/github-readme-stats)
就能实现汇总的效果。

试试吧!

网友评论