Update README.md

This commit is contained in:
frankthwang 2025-07-04 13:59:09 +08:00
parent 2933eb46b6
commit 72595d9dc4
4 changed files with 20 additions and 25 deletions

View file

@ -6,29 +6,27 @@ A text block timing tool designed for Obsidian, allowing you to add timing funct
## Features
- Add timers to text lines (count-up timing)
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/demo.gif" width="50%" alt="">`
- Add timers to any text line as many as you wsh (count-up timing)
- ▶️/⏸️ Supports start, pause, and continue timing, with multi-segment timing accumulation for a single task
- ⏳ Real-time display of accumulated time
- 📊 Timing data is persistently saved
## Installation Method
1. In Obsidian, open "Settings" → "Community Plugins"
2. Click "Browse" and search for "Text Block Timer"
3. Install and enable the plugin
- [💾](https://www.emojiall.com/zh-hans/emoji/%F0%9F%92%BE) Timing data is persistently saved
## Usage Method
### (1) Command Palette + Shortcuts (Recommended ⭐️)
1. Assign a shortcut for the command "Text Block Timer: Toggle timer" for quick access
2. Place your cursor on a text block, press the shortcut to start, pause, or continue
<img src="https://github.com/wth461694678/text-block-timer/blob/main/command_shortcut.gif" width="50%" alt="">
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/command_shortcut.gif" width="50%" alt="">`
### (2) Mouse Operations
1. Right-click on a text line
2. Select "Start Timer", "Pause Timer", or "Continue Timer"
3. The timer will display in the format `【⏳00:00:00 】` at the start of the text block
<img src="https://github.com/wth461694678/text-block-timer/blob/main/right_click.gif" width="50%" alt="">
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/right_click.gif" width="50%" alt="">`
## Notes
@ -38,4 +36,4 @@ A text block timing tool designed for Obsidian, allowing you to add timing funct
## Development Information
- Developer: frankthwang
- Version: 1.0.0
- Version: 1.0.1

View file

@ -6,30 +6,27 @@
## 功能特性
- 为文本行添加计时器(正计时)
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/demo.gif" width="50%" alt="">`
- 为任意文本行添加计时器,支持同时执行多个计时器(正计时)
- ▶️/⏸️ 支持开始、暂停、继续计时,支持一个任务的多段计时累计
- ⏳ 实时显示累计时间
- 📊 计时数据持久化保存
## 安装方法
1. 在Obsidian中打开"设置" → "社区插件"
2. 点击"浏览"并搜索"文本块计时器"
3. 安装并启用插件
- 💾 计时数据持久化保存
## 使用方法
### (一)命令行+快捷键(推荐⭐️)
1. 为命令 "Text Block Timer: Toggle timer" 配置快捷键,方便快速使用
2. 当光标在某个文本块时按下快捷键即可实现timer的开始、暂停、继续操作
<img src="https://github.com/wth461694678/text-block-timer/blob/main/command_shortcut.gif" width="50%" alt="">
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/command_shortcut.gif" width="50%" alt="">`
### (二)鼠标操作
1. 在文本行上右键点击
2. 选择"开始计时"、"暂停计时"或"继续计时"
3. 计时器会以 `【⏳00:00:00 】`格式显示在文本块的行首
<img src="https://github.com/wth461694678/text-block-timer/blob/main/right_click.gif" width="50%" alt="">
`<img src="https://github.com/wth461694678/text-block-timer/blob/main/right_click.gif" width="50%" alt="">`
## 注意事项
@ -38,4 +35,4 @@
## 开发信息
- 开发者: frankthwang
- 版本: 1.0.0
- 版本: 1.0.1

BIN
demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View file

@ -4,6 +4,6 @@
"minAppVersion": "1.8.9",
"name": "Text Block Timer",
"author": "frankthwang",
"description": "Add a timer to text block to track task time consumption.",
"description": "Add a timer to text block to enable count-up timing.",
"isDesktopOnly": true
}
}