hygyh87 downloads智能 Markdown 列表输入:中文标点(1、1。等)自动转标准序号,支持有序/无序/待办列表快速切换,子项类型与所在层级保持一致。Smart Markdown list input: auto-converts Chinese punctuation to standard numbering, quick-switches ordered/bullet/task lists, keeps child types consistent with their level.
An Obsidian plugin that makes Markdown list input effortless — auto-converts Chinese punctuation to standard numbering, and switches between ordered / bullet / task lists with a keystroke.
| You type | Auto becomes |
|---|---|
1、 then space |
1. |
Type - on the next line of an ordered list |
Indented bullet child |
Type 【 on the next line of an ordered list |
Task child - [ ] |
Press Tab on 2. content |
- content bullet child, never a nested ordered list |
Press Shift+Tab on a child item |
Restore to an ordered item at the same level |
Press Backspace at the end of a marker |
Delete the whole marker, keep content |
Type a Chinese ordinal, then press space — it becomes a standard Markdown ordered list.
type: 1、 3。 12,
output: 1. 3. 12.
- on the ordered list's next line → bullet childtype: output:
1. item 1. item
2. ← type - → - ← cursor here
[ / 【 on the ordered list's next line → task childtype: output:
1. item 1. item
2. ← type 【 → - [ ] ← cursor here
Tab on an ordered line → child, type auto-adaptsThe child type matches its context. It never creates a nested ordered list.
bullet prev: 2. content → - content
task prev: 2. content → - [ ] content
Shift+Tab on a child → restore to orderedtype: output:
1. item 1. item
- child ← ⇧Tab → 2. child
- [ ] todo ✓ standard
-[x]done ✓ non-standard (full-width brackets, no spaces)
cursor: 1. item| Backspace → item (removes "1. ", keeps content)
cursor: - [ ] todo| Backspace → todo (removes "- [ ] ")
Search "Smart List Input" in Obsidian's community plugin browser.
npm install
npm run dev # watch mode
npm run build # build main.js
npm run test # unit tests (171)
MIT
一个让 Markdown 列表输入更顺手的 Obsidian 插件:中文标点自动转标准列表,有序 / 无序 / 待办列表一键切换。
| 你输入 | 自动变成 |
|---|---|
1、 然后按空格 |
1. |
有序列表下一行输入 - |
缩进为无序子项 |
有序列表下一行输入 【 |
待办子项 - [ ] |
在 2. 内容 上按 Tab |
- 内容(无序子项,绝不变成嵌套有序) |
在子项上按 Shift+Tab |
还原为同层级有序列表 |
光标在标记末尾按 Backspace |
删除整个标记,保留内容 |
输入中文序号后按空格,自动转成标准 Markdown 有序列表。
输入: 1、 3。 12,
输出: 1. 3. 12.
- → 无序子项输入: 输出:
1. 事项 1. 事项
2. ← 输入 - → - ← 光标在这里
[ / 【 → 待办子项输入: 输出:
1. 事项 1. 事项
2. ← 输入 【 → - [ ] ← 光标在这里
Tab → 下级子项(类型自适应)子项类型自动与上下文一致,绝不生成嵌套有序列表。
上一行是无序: 2. 内容 → - 内容
上一行是待办: 2. 内容 → - [ ] 内容
Shift+Tab → 还原为有序列表输入: 输出:
1. 事项 1. 事项
- 子项 ← ⇧Tab → 2. 子项
- [ ] 待办 ✓ 标准写法
-[x]已完成 ✓ 非标准(全角括号、无空格)
光标: 1. 事项| 按 Backspace → 事项 (删掉 "1. ",保留内容)
光标: - [ ] 待办| 按 Backspace → 待办 (删掉 "- [ ] ")
在 Obsidian 社区插件市场搜索 "Smart List Input" 安装。
npm install
npm run dev # 开发 watch
npm run build # 构建 main.js
npm run test # 单元测试(171)
MIT