docs: Replace the shortcuts to <kbd> tag

This commit is contained in:
pan93412
2022-11-08 15:42:34 +08:00
parent ec782240f6
commit 1d8d069edc
2 changed files with 24 additions and 24 deletions

View File

@@ -7,9 +7,9 @@
## 特征 ## 特征
🏂 **小**:相比传统的 Electron 套壳打包,大小要小将近 40 倍,一般不到 3M ([数据](https://static.tw93.fun/img/pakedata.png)) 🏂 **小**:相比传统的 Electron 套壳打包,大小要小将近 40 倍,一般不到 3M ([数据](https://static.tw93.fun/img/pakedata.png))
😂 **快**Pake 的底层使用的 Rust Tauri 框架,性能体验较 JS 框架要轻快不少,内存小很多 😂 **快**Pake 的底层使用的 Rust Tauri 框架,性能体验较 JS 框架要轻快不少,内存小很多
🩴 **特**:不是单纯打包,实现了通用快捷键的透传、沉浸式的窗口、拖动、样式改写简化 🩴 **特**:不是单纯打包,实现了通用快捷键的透传、沉浸式的窗口、拖动、样式改写简化
🐶 **玩**:只是一个很简单的小玩具,用 Rust 替代之前套壳网页老的思路玩法PWA 也很好,友好交流勿喷 🐶 **玩**:只是一个很简单的小玩具,用 Rust 替代之前套壳网页老的思路玩法PWA 也很好,友好交流勿喷
## 下载 ## 下载
@@ -53,15 +53,15 @@
## 快捷键 ## 快捷键
1. `command + [`:返回上一个页面 1. <kbd>⌘</kbd> + <kbd>[</kbd>:返回上一个页面
2. `command + ]`:去下一个页面 2. <kbd>⌘</kbd> + <kbd>]</kbd>:去下一个页面
3. `command + ↑`:自动滚动到页面顶部 3. <kbd>⌘</kbd> + <kbd>↑</kbd>:自动滚动到页面顶部
4. `command + ↓`:自动滚动到页面底部 4. <kbd>⌘</kbd> + <kbd>↓</kbd>:自动滚动到页面底部
5. `command + r`:刷新页面 5. <kbd>⌘</kbd> + <kbd>r</kbd>:刷新页面
6. `command + w`:隐藏窗口,非退出 6. <kbd>⌘</kbd> + <kbd>w</kbd>:隐藏窗口,非退出
7. `command + -`:缩小页面 7. <kbd>⌘</kbd> + <kbd>-</kbd>:缩小页面
8. `command + =`:放大页面 8. <kbd>⌘</kbd> + <kbd>=</kbd>:放大页面
9. `command + 0`:重置页面缩放 9. <kbd>⌘</kbd> + <kbd>0</kbd>:重置页面缩放
此外还支持双击头部进行全屏切换,拖拽头部进行移动窗口,还有其他需求,欢迎提过来。 此外还支持双击头部进行全屏切换,拖拽头部进行移动窗口,还有其他需求,欢迎提过来。

View File

@@ -7,9 +7,9 @@
## Features ## Features
🏂 **Small**Nearly 40 times smaller than the Electron shell package, less than 3M ([Data](https://static.tw93.fun/img/pakedata.png)). 🏂 **Small**Nearly 40 times smaller than the Electron shell package, less than 3M ([Data](https://static.tw93.fun/img/pakedata.png)).
😂 **Fast**Using the Rust Tauri, the performance experience is much lighter and faster than JS, memory is much smaller. 😂 **Fast**Using the Rust Tauri, the performance experience is much lighter and faster than JS, memory is much smaller.
🩴 **Special**Not just packaged, with universal shortcut pass-through, immersive windows, drag-and-drop, packaged style compatibility. 🩴 **Special**Not just packaged, with universal shortcut pass-through, immersive windows, drag-and-drop, packaged style compatibility.
🐶 **Toy**Just a very simple little toy, a way to play with Rust instead of the old idea of shelling the web 🐶 **Toy**Just a very simple little toy, a way to play with Rust instead of the old idea of shelling the web
## Download ## Download
@@ -53,15 +53,15 @@ More common apps can be downloaded from [Release](https://github.com/tw93/Pake/r
## Shortcuts ## Shortcuts
1. `command + [`Return to the previous page 1. <kbd>⌘</kbd> + <kbd>[</kbd>Return to the previous page
2. `command + ]`Go to the next page 2. <kbd>⌘</kbd> + <kbd>]</kbd>Go to the next page
3. `command + ↑`Auto scroll to top of page 3. <kbd>⌘</kbd> + <kbd>↑</kbd>Auto scroll to top of page
4. `command + ↓`Auto scroll to bottom of page 4. <kbd>⌘</kbd> + <kbd>↓</kbd>Auto scroll to bottom of page
5. `command + r`Refresh Page 5. <kbd>⌘</kbd> + <kbd>r</kbd>Refresh Page
6. `command + w`Hide window, not quite 6. <kbd>⌘</kbd> + <kbd>w</kbd>Hide window, not quite
7. `command + -`ZoomOut Page 7. <kbd>⌘</kbd> + <kbd>-</kbd>Zoom out the page
8. `command + =`ZoomIn Page 8. <kbd>⌘</kbd> + <kbd>=</kbd>Zoom in the Page
9. `command + 0`Reset Page zoom 9. <kbd>⌘</kbd> + <kbd>0</kbd>Reset the page zoom
In addition, it supports double clicking the head to switch to full screen, and dragging the head to move the window In addition, it supports double clicking the head to switch to full screen, and dragging the head to move the window