-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from doggy8088/add-trad-chinese
Add Traditional Chinese README
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Office Viewer | ||
|
||
## 介紹 | ||
|
||
該擴充套件在 VS Code 內整合 [Vditor](https://github.com/Vanessa219/vditor) (針對 VS Code 做了些[相容性改動](https://github.com/vscode-ext-studio/vditor)),實現了對 Markdown 的所見即所得編輯,相比 Typora 的優缺點: | ||
|
||
* 開源免費無廣告無隱私追蹤 (如果對你有幫助考慮點下 Star (●'◡'●)) | ||
* VS Code 內建 Git 支援,建立一個 Git 儲存庫就可以對 Markdown 進行版本管理 | ||
* 支援多視窗開啟 Markdown (Typora 只支援 mac) | ||
* 相比 Typora 的缺點: 對 HTML、程式碼區塊和圖形支援不友好 | ||
|
||
擴充套件名字叫做 Office Viewer 因為最初是為了增強 VSCode 的預覽功能,支援預覽 XLSX、DOCX、SVG、PDF、ZIP 等格式,後來才增加 Markdown 編輯器,同時為了精簡本人安裝的擴充套件,整合了一個圖示主題和顏色主題. | ||
|
||
使用說明: | ||
|
||
* 編輯方式:直接透過 VS Code 開啟 `md` 檔案 | ||
* 透過 Ctrl/Meta + 單擊或者雙擊可開啟超連結 | ||
* 配置 `vscode-office.autoTheme": false` 可將編輯器設定為亮白色 | ||
* 可透過 Ctrl/Meta + 滑鼠滾動來調整檢視大小 | ||
* 點選以下按鈕可開啟 VSCode 內建編輯器 | ||
![img](image/README-CN/1640579182342.png) | ||
* 在編輯器開啟右鍵選單可將 Markdown 匯出為 PDF、DOCX 或者 HTML、PDF 依賴於 Chromium,可透過 `vscode-office.chromiumPath` 配置 Chromium 瀏覽器路徑 | ||
![1685418034035](image/README-CN/1685418034035.png) | ||
|
||
## 其他功能 | ||
|
||
* 圖示主題: 內建了 Material Icon Theme 部分 Icon | ||
* Excel: 支援對 XLSX、CSV 等 Excel 檔案進行預覽和儲存 (注意 XLSX 儲存會丟失格式,CSV 則不支援 GBK 中文) | ||
* HTML: 編輯 HTML 的過程中按下 Ctrl+Shift+V 可實時預覽 | ||
* PDF: 支援直接預覽 PDF 檔案 | ||
* HTTP: 用於傳送 HTTP 請求,由於 REST Client 本地請求有 bug,修改後進行整合 | ||
|
||
## Credits | ||
|
||
* PDF rendering: [mozilla/pdf.js/](https://github.com/mozilla/pdf.js/) | ||
* Docx rendering: [VolodymyrBaydalka/docxjs](https://github.com/VolodymyrBaydalka/docxjs) | ||
* XLSX rendering: | ||
* [SheetJS/sheetjs](https://github.com/SheetJS/sheetjs): XLSX parsing | ||
* [myliang/x-spreadsheet](https://github.com/myliang/x-spreadsheet): XLSX rendering | ||
* HTTP: [Rest Client](https://github.com/Huachao/vscode-restclient) | ||
* Markdown: [Vanessa219/vditor](https://github.com/Vanessa219/vditor) | ||
* Material Icon theme: [PKief/vscode-material-icon-theme](https://github.com/PKief/vscode-material-icon-theme) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters