打开偏好设置——通用——打开高级设置
在跳转的文件夹中选中conf.user.json文件,右键 用Notepad++打开:
Ctrl+Alt+Z 就是代码块的快捷键,自己可以修改哦!
替换成以下内容:
/** For advanced users. */
{
"defaultFontFamily": {
"standard": null, //String - Defaults to "Times New Roman".
"serif": null, // String - Defaults to "Times New Roman".
"sansSerif": null, // String - Defaults to "Arial".
"monospace": null // String - Defaults to "Courier New".
},
"autoHideMenuBar": false, //Boolean - Auto hide the menu bar unless the `Alt` key is pressed. Default is false.
// Array - Search Service user can access from context menu after a range of text is selected. Each item is formatted as [caption, url]
"searchService": [
["Search with Google", "https://google.com/search?q=%s"]
],
// Custom key binding, which will override the default ones.
"keyBinding": {
// for example:
"Always On Top": "Ctrl+Shift+P",
"Code Fences": "Ctrl+Alt+Z",
"Oedered List": "Ctrl+Alt+o",
"Unordered List": "Ctrl+Alt+u"
},
"monocolorEmoji": false, //default false. Only work for Windows
"autoSaveTimer" : 3, // Deprecidated, Typora will do auto save automatically. default 3 minutes
"maxFetchCountOnFileList": 500,
"flags": [] // default [], append Chrome launch flags, e.g: [["disable-gpu"], ["host-rules", "MAP * 127.0.0.1"]]
}
2、字体、字号、颜色设置
代码:
微软雅黑字体
黑体
3号字
4号字
红色
绿色
蓝色
效果演示:
微软雅黑字体
黑体
3号字
4号字
红色
绿色
蓝色
代码:
背景色是 1 orange
背景色2 BlueViolet
效果:
背景色是 1 orange |
背景色2 BlueViolet |