Git
"C:\Program Files\Git\etc\bash.bashrc"中添加export LESSCHARSET=utf-8 可解決commit中文亂碼問(wèn)題。
Powershell中使用 git diff | out-file -encoding default patch 確保git diff生成的patch文件不會(huì)產(chǎn)生亂碼
Git + VSCode
NPM, Yarn
NPM config字段所有keys, Yarn通用: https://docs.npmjs.com/misc/config#config-settings
yarn config set init-author-name user
yarn config set init-author-email user@example.com
yarn config set registry "https://registry.npm.taobao.org" //修改為大陸安裝源
yarn config list //列出所有已定義keys
Markdown
圖片
一般圖片

效果 avatar
圖片鏈接(簡(jiǎn)書(shū)中無(wú)效)
[](http://www.itdecent.cn/p/0158a5ae5bd3)
超鏈接
一般鏈接
[Google](https://www.google.com/)
效果 Google
自動(dòng)轉(zhuǎn)換鏈接
<https://www.google.com/>
<admin@example.com>
插入代碼
- 在每行代碼前加入4個(gè)空格或者添加一個(gè)制表符(TAB鍵)
- 在代碼兩側(cè)添加單個(gè)反引號(hào)
\` - 在代碼兩側(cè)添加三個(gè)反引號(hào)
``` - 在上一步基礎(chǔ)上,在前三個(gè)反引號(hào)后加上語(yǔ)言種類(lèi)如
```Javacript
var body = document.querySelector('body');
即可實(shí)現(xiàn)對(duì)應(yīng)語(yǔ)言語(yǔ)法高亮,語(yǔ)言名稱(chēng)以及縮寫(xiě)列表可參見(jiàn)此處
效果
var body = document.querySelector('body');