naive231
|
426aa5af20
|
修复了列表项编号错误的问题。主要改动包括:
1. 添加了 `topLevelCounter` 来专门追踪顶级列表项的计数。
2. 修改了缩进级别变化时的计数器处理逻辑。
3. 改进了计数器数组的维护方式。
这些修改确保:
- 顶级列表项正确从 1 递增到 2。
- 子列表项的编号正确跟随其父级列表项。
- 同级列表项保持正确的序号。
修复后:
- "不管是對內的組織管理..." 会显示为 "1.2"。
- "以生成式人工智慧技術..." 会显示为 "2"。
- 所有子项的编号也会相应正确调整。
|
2024-11-19 14:51:58 +08:00 |
naive231
|
146b26f8e4
|
修复了在切换列表类型时重置计数器的问题,确保任务列表项的编号能够正确延续。
|
2024-11-19 09:16:23 +08:00 |
naive231
|
2d0f4e73aa
|
[add] Add a notification to the Reading View when the content is copied to the clipboard.
|
2024-11-15 16:14:40 +08:00 |
naive231
|
395ee9b142
|
Add a "copy" button to help user get content of the code block of the Reading View.
|
2024-11-15 10:49:15 +08:00 |
naive231
|
215b259095
|
[fix] Fix the wrong logic that always do the replacement toward the whole text instead the rest part of the text.
|
2024-11-15 10:37:41 +08:00 |
naive231
|
6789f574b8
|
[add] Add core implementation.
|
2024-11-15 09:00:48 +08:00 |
naive231
|
487c0f6736
|
Refactored the `processLineBlock` function in `main.ts` to improve list item handling and formatting. Updated the `applyFormatting` function to include additional formatting rules. Also modified `env.vim` to add `main.ts` to the argument list and set the make program to `tsc`.
|
2024-11-15 00:35:13 +08:00 |
Johannes Theiner
|
e8f03522bc
|
Adapt to plugin guidelines (#65)
- remove header in settings
- remove logging of changed settings value
|
2023-07-17 12:36:25 -04:00 |
Xiao Meng
|
f690c04577
|
use LF instead of CRLF (#28)
|
2022-04-15 14:13:31 -04:00 |
lishid
|
db18a36e65
|
Update build script to include external node packages.
|
2021-11-01 15:18:11 -04:00 |
TfTHacker
|
6fdd374cb8
|
Adding eslint for code .\src\ (#17)
|
2021-10-30 14:04:07 -04:00 |
lishid
|
3afc9d78ab
|
Update sample plugin to use ESBuild.
|
2021-10-19 13:34:58 -04:00 |
fyears
|
5f95bce9e1
|
preserve and load settings correctly
|
2021-10-10 11:11:02 -04:00 |
lishid
|
ae30a5a418
|
Update best practice for settings.
|
2021-01-24 15:41:47 -05:00 |
lishid
|
cfe4d17ce7
|
Add example for settings.
|
2020-12-22 11:24:00 -05:00 |
lishid
|
9162f82010
|
Removed init.
|
2020-10-29 21:41:47 -04:00 |
lishid
|
6e8aab9616
|
Add more examples for hooks.
|
2020-10-29 18:02:57 -04:00 |
lishid
|
99f4035214
|
Add example for modifying CodeMirror.
|
2020-10-29 17:36:03 -04:00 |
lishid
|
2889865881
|
Refactor: Use new version of obsidian.d.ts from remote.
|
2020-10-26 11:07:18 -04:00 |
lishid
|
ed3770792a
|
Initial commit!
|
2020-10-25 16:58:31 -04:00 |