Results 6 comments of Bravo Yeung

我用`prism.js`做的效果,https://www.geekplayers.com/2019/12/03/leetcode976-largest-perimeter-triangle/ ![image](https://user-images.githubusercontent.com/3152813/88484059-7866b200-cf9e-11ea-9a15-61d420cc659f.png)

使用`prism.js`加入代码行号: 到prism.js官网进行定制,在页面底部预览,我选了**代码高亮**、**line number**、**toolbar**、**copy to clipboard**等功能。 Change the style in /css/syntax.css ```css .highlight pre code * { white-space: pre !important; // this sets all children inside to nowrap } ``` _include/header.md的head标签中加入css...

首先确保你按照官方文档进行了如下配置: ```javascript var gitalk = new Gitalk({ clientID: 'GitHub Application Client ID', clientSecret: 'GitHub Application Client Secret', repo: 'GitHub repo', owner: 'GitHub repo owner', admin: ['GitHub repo owner and collaborators],...

**解决办法:** 设置: `admin: [Meloor]` 接下来,需要gitalk的admin用户(你这里是`Meloor`)到你网站的某一个具体文章页面授权github登陆,可完成初始化。

设置,是指下面的代码: ```javascript const gitalk = new Gitalk({ clientID: 'GitHub Application Client ID', clientSecret: 'GitHub Application Client Secret', repo: 'GitHub repo', // The repository of store comments, owner: 'GitHub repo owner',...

@jdneo I met the same issue. For same reason in my work, I need to set `git config --global http.sslVerify false`. I am not sure if it is caused by...