Yufan You

Results 370 comments of Yufan You

My workaround: replace every emoji img with {alt}

> 希望可给预期行为的图 ![图片](https://user-images.githubusercontent.com/30581822/140745887-0f16f3d9-c9bc-4a15-a1da-6bf93262810d.png)

> thinking 我们真的需要分割线吗(?)感觉没有分割线,效果似乎也不错 其实应当是没有“参考资料与注释”这句话的。脚注的话,Word 是有分割线的(

其实我觉得,如果把原来 md 中的脚注标题删掉,现在这个加上 "Footnotes" 的行为也是可以的。如果换成分割线,md 里有没有脚注标题都可以。

在 build 时执行,API 可以缓存结果(到文件),(用 scheduled Actions)定期更新(以防用户名更改)。

啊,其实可以从 commit 获取 author 而非 search..

> 啊,其实可以从 commit 获取 author 而非 search.. ```javascript // build 时用来获取作者 function getAuthor(map, { email, sha }) { if (map.has(email)) return map.get(email); const res = get( `https://api.github.com/repos/OI-wiki/OI-wiki/commits/${sha}` ); if (res.author)...

我是觉得手动修改 author 太麻烦了,而且不是所有人都会知道需要修改。可能一个人想留名但第一次贡献,就改个 typo,根本不会知道什么是 author 字段。

文件改动的时候再加 author 字段,以前都是这么搞的。

我是觉得搞个脚本帮助移动文件时添加 author 比较好..