讓 typora和word一樣好用


讓 typora和word一樣好用  :https://github.com/itcastWsy/typora_copy_images

typora是一款支持實時預覽的markdown編輯器,作者在使用過其他幾款的編輯器里面,發現typora的確實簡單使用,而且功能強大.尤其是經過一些簡單設置后,可以做到像word一樣簡單使用.

即時貼圖功能

使用markdown做筆記的人應該知道,很多編輯器是不提供將粘貼圖 貼到markdown中的.因為這個體驗,所以很多人在處理一些帶圖片的文檔的時候,還是寧願使用word.現在可以分享給大家將typora設置一番后,就可以將粘貼板的圖片直接貼到markdown中.如

 

步驟1

File>Preferences..>Images Insert

把 兩個選項都勾選上

3

 

步驟2

設置當插入圖片的時候,把圖片拷貝到文件夾內(一般和markdown同目錄)

Edit>Image Tools > when Insert Local Image> Copy Image File to Floder.

如:

4

此時,拷貝你的粘貼板的圖片到markdown中試試

注意,也可以直接將本地的圖片拖放到markdown中.

 

自定義快捷鍵

由於typora有一些文字格式是沒有快捷鍵的,所以需要實現自定義快捷鍵功能.如 插入代碼段 有序無序列表

對於習慣使用快捷鍵的人來說,每次都需要手動點擊的話,是很麻煩的.所以,需要自己實現快捷鍵的設置.

5

 

步驟一

打開 首選項設置 選到 高級設置

File>Perferences>Advances Settings >Open Advanced Settings

 

步驟2

此時 打開 用戶配置文件 conf.user.json

7

 

步驟3

將如下文本,全部替換即可

/** 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 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+Shift+F", "Ordered List": "Ctrl+Alt+o", "Unordered List": "Ctrl+Alt+u" }, "autoSaveTimer": 5, // default 5 minutes "maxFetchCountOnFileList": 500 }

 

結果演示

 

附:

細心的同學可能發現了,作者把typora改成英文版也就是為了以后添加快捷鍵方便

 

修改語言方式

9

 

typora 快捷鍵

  • 無序列表:輸入-之后輸入空格
  • 有序列表:輸入數字+“.”之后輸入空格
  • 任務列表:-[空格]空格 文字
  • 標題:ctrl+數字
  • 表格:ctrl+t
  • 生成目錄:[TOC]按回車
  • 選中一整行: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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM