-GITHUB OFFICIALS-

Results 71 comments of -GITHUB OFFICIALS-

It works fin, I just don't understand why it's written like this. ```typescript const initMonaco = useCallback(func, [...deps]); useEffect(() => { initMonaco(); }, [initMonaco]); ``` Why not just use useEffect...

复制整个接口(不是地址)

lyy@MacBook-Air hera$ sudo npm i hera-cli -g Password: Sorry, try again. Password: npm ERR! code 1 npm ERR! Command failed: /usr/bin/git clone -q https://github.com/tunnckoCore/body-parsers.git /Users/lyy/.npm/_cacache/tmp/git-clone-c8d067bc npm ERR! /Users/lyy/.npm/_cacache/tmp/git-clone-c8d067bc/.git: Permission denied...

npm已经是最新的。。。9.4版本。, 翻过不行。。 到时候有空重装node试试

> 在 \themes\pure\source\css\style.css 下修改代码框背景和字体 > ![image](https://user-images.githubusercontent.com/69089808/89600858-0f4e2c80-d831-11ea-8b2f-23d0affc4458.png) 请问style.css 和style.min.css 优先使用哪个?

> consolas 默认字体应该是:monospace,monospace。 尝试一下这个可以不 [修改代码块字体](http://a.com:4000/posts/hexo-optimize.html#修改代码块字体)

使用的是下面的CSS。 ```css .highlight:before { display: block; content: ' '; height: 32px; position: absolute; top: 0; left: 0; right: 0; background-color: #f6f6f6; padding: 0 10px; border-top-left-radius: 4px; border-top-right-radius: 4px; } ```

themes pure layout 在这里面修改