Typora 配置說明
為了更好的使用markdown,解決markdown中不如Word的不便之處,對markdown編輯器Typora進行配置
貼圖功能
- 進入File
- 進入Preference
- 找到Images Insert
- 勾選use relative path if posiible
- 勾選Allow copy image to given folder
- 進入edit
- 進入Image Tools
- 進入When insert Local Image
- 進入Copy image file to floder
- 完成
自定義快捷鍵
File>Perferences>Advances Settings >Open Advanced Settings
- 打開配置文件conf.user.json
- 將下列代碼替換到文件中
/** For advanced users. */
{
"width": null, // Integer - Window's width in pixels. Default is null (last window width)
"height": null, // Integer - Window's height in pixels. Default is null (last window height)
"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 Baidu",
"https://baidu.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+Shift+F",
"Ordered List": "Ctrl+Alt+o",
"Unordered List": "Ctrl+Alt+u"
},
"autoSaveTimer": 5, // default 5 minutes
"maxFetchCountOnFileList": 500
}
快捷鍵使用
- 任務列表:-[空格]空格 文字
- 標題:ctrl+數字
- 表格:ctrl+t
- 生成目錄:
- 選中一整行:ctrl+l
- 選中單詞:ctrl+d
- 選中相同格式的文字:ctrl+e
- 跳轉到文章開頭:ctrl+home
- 跳轉到文章結尾:ctrl+end
- 搜索:ctrl+f
- 替換:ctrl+h
- 引用:輸入>之后輸入空格
- 代碼塊:ctrl+alt+f
- 加粗:ctrl+b
- 傾斜:ctrl+i
- 下划線:ctrl+u
- 刪除線:alt+shift+5
- 插入圖片:直接拖動到指定位置即可或者ctrl+shift+i
- 插入鏈接:ctrl+k
Linux下安裝typora
# 可選的,但推薦
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
# 添加 Typora 的倉庫
sudo add-apt-repository 'deb https://typora.io ./linux/'
sudo apt-get update
# 安裝 typora
sudo apt-get install typora