You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
此处存放着笔者想要留存,但内容较少,不适合新建一篇博客的内容。
配置 npm 镜像设置 腾讯解君愁。
Hugo 中嵌入 HTML 的方法 于 config.yml 中加入以下配置:
markup: goldmark: renderer: unsafe: true 参考 Hugo 文档 Goldmark 一栏。
unsafe
By default, Goldmark does not render raw HTMLs and potentially dangerous links. If you have lots of inline HTML and/or JavaScript, you may need to turn this on.
Hugo PaperMod 主题安装、更新方法 参考其教程即可 Hugo PaperMod。
WSL WSL 2 配置代理 若使用 bash,则在 .bashrc 中添加:
export windowsHostIP=cat /etc/resolv.conf|grep nameserver|awk '{print $2}' proxy() { export ALL_PROXY="http://$windowsHostIP:端口" export all_proxy="http://$windowsHostIP:端口" export http_proxy="http://$windowsHostIP:10809" export https_proxy="http://$windowsHostIP:10809" } unproxy() { unset ALL_PROXY unset all_prox unset http_proxy unset https_proxyy } 虽然看起来没有必要,但是只有设置了 http_proxy 和 https_proxy 才能对 wget 生效,笔者感觉十分奇怪。
The text was updated successfully, but these errors were encountered:
https://xqm32.github.io/notes/
此处存放着笔者想要留存,但内容较少,不适合新建一篇博客的内容。
配置 npm 镜像设置 腾讯解君愁。
Hugo 中嵌入 HTML 的方法 于 config.yml 中加入以下配置:
markup: goldmark: renderer: unsafe: true 参考 Hugo 文档 Goldmark 一栏。
unsafe
By default, Goldmark does not render raw HTMLs and potentially dangerous links. If you have lots of inline HTML and/or JavaScript, you may need to turn this on.
Hugo PaperMod 主题安装、更新方法 参考其教程即可 Hugo PaperMod。
WSL WSL 2 配置代理 若使用 bash,则在 .bashrc 中添加:
export windowsHostIP=
cat /etc/resolv.conf|grep nameserver|awk '{print $2}'
proxy() { export ALL_PROXY="http://$windowsHostIP:端口" export all_proxy="http://$windowsHostIP:端口" export http_proxy="http://$windowsHostIP:10809" export https_proxy="http://$windowsHostIP:10809" } unproxy() { unset ALL_PROXY unset all_prox unset http_proxy unset https_proxyy } 虽然看起来没有必要,但是只有设置了 http_proxy 和 https_proxy 才能对 wget 生效,笔者感觉十分奇怪。The text was updated successfully, but these errors were encountered: