|
|
@@ -75,12 +75,45 @@ Inherit [Moeditor](https://github.com/Moeditor/Moeditor), I want to fix it appro
|
|
|
# Plan To Do
|
|
|
- [ ] Add Toc
|
|
|
- [x] Add Hexo Title Header setting (100%)
|
|
|
-- [ ] Add base highlight ShortCut
|
|
|
+- [x] Add Editor ShortCut
|
|
|
- [ ] Add history files tree
|
|
|
.....
|
|
|
- [x] Deploy Post
|
|
|
- [ ] Add multi-editing in tabs
|
|
|
|
|
|
+# ShortCut
|
|
|
+| Key | Method | explanation |
|
|
|
+| :--------------------: | :------------------ | :-------------- |
|
|
|
+| `Tab` | tabAdd | add indentation |
|
|
|
+| `Shift` - `Tab` | tabSubtract | reduce indentation |
|
|
|
+| `Ctrl` - `B` | toggleBlod | toggle blod |
|
|
|
+| `Ctrl` - `I` | toggleItalic | toggle italic |
|
|
|
+| `Ctrl` - `D` | toggleDelete | delete current line |
|
|
|
+| `Ctrl` - <code>\`</code> | toggleComment | toggle comment |
|
|
|
+| `Ctrl` - `L` | toggleUnOrderedList | toggle unordered list |
|
|
|
+| `Ctrl` - `Alt` - `L` | toggleOrderedList | toggle ordered list |
|
|
|
+| `Ctrl` - `]` | toggleHeader | downgrade title |
|
|
|
+| `Ctrl` - `[` | toggleUnHeader | upgrade title |
|
|
|
+| `Ctrl` - `=` | toggleBlockquote | add blockquote |
|
|
|
+| `Ctrl` - ` - ` | toggleUnBlockquote | reduce blockquote |
|
|
|
+| `Ctrl` - `U` | drawLink | add hyperlink |
|
|
|
+| `Ctrl` - `Alt` - `U` | drawImageLink | add image |
|
|
|
+| `Ctrl` - `T` | drawTable(row col) | add table(row column) |
|
|
|
+| `Ctrl` - `V` | pasteOriginContent | paste origin content |
|
|
|
+| `Shift` - `Ctrl` - `V` | pasteContent | auto paste content |
|
|
|
+| `Alt` - `F` | formatTables | format tables |
|
|
|
+| `Ctrl` - `N` | | new md document |
|
|
|
+| `Ctrl` - `H` | | new hexo document |
|
|
|
+| `Ctrl` - `O` | | open md document |
|
|
|
+| `Ctrl` - `S` | | save md document |
|
|
|
+| `Shift` - `Ctrl` - `S` | | save as |
|
|
|
+| `Alt` - `Ctrl` - `S` | | open settings |
|
|
|
+| `Ctrl` - `W` | | toggle write mode |
|
|
|
+| `Ctrl` - `P` | | toggle preview mode |
|
|
|
+| `Ctrl` - `R` | | toggle read mode |
|
|
|
+
|
|
|
+* **tip**: In mac OS, plase replace `Ctrl` key with `Cmd` key.
|
|
|
+
|
|
|
# Building
|
|
|
```c
|
|
|
//if use Windows:
|
|
|
@@ -96,7 +129,7 @@ npm config set registry "https://registry.npm.taobao.org/"
|
|
|
npm config set electron_mirror "https://npm.taobao.org/mirrors/electron/"
|
|
|
|
|
|
git clone https://github.com/zhuzhuyule/HexoEditor.git
|
|
|
-npm install -g electron@1.8.1
|
|
|
+cd HexoEditor
|
|
|
npm install
|
|
|
npm start
|
|
|
```
|