Commit Graph

93 Commits

Author SHA1 Message Date
naive231 20b6c0736a vault backup: 2024-11-21 19:00:32 2024-11-21 19:00:32 +08:00
naive231 5cb4dbfd1a Recompile 'main.ts'.
Add 'node_modules' to repo.
Remove essential, runtime environment files from ignoring list.
2024-11-21 18:49:58 +08:00
naive231 972cfb341e 2024-11-21 18:41:32 +08:00
naive231 3736f2a192 由于某些旧版本的 iOS 不支持 lookbehind,在这个替代方案中,(^|[^*]) 确保在星号前面是字符串的开始或不是星号的字符。这样可以避免使用 lookbehind,同时实现相同的匹配效果。 2024-11-21 14:03:35 +08:00
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 6a3bcb1cbc [fix] Change 'id' and 'name' to align with 'community-plugins.json' of 'obsidian-releases' repo. 2024-11-16 07:37:39 +08:00
naive231 ee70e40a4b Merge branch 'master' of github-naive231:naive231/obsidian-md-to-line-message 2024-11-16 07:33:41 +08:00
naive231 cd18f67c72 [fix] Remove 'authorUrl' and 'fundingUrl' to align with community's guildine. 2024-11-16 07:33:25 +08:00
周乃宏 3ca5d69db1
Create LICENSE 2024-11-15 17:10:09 +08:00
周乃宏 fd887fe26b
Update README.md 2024-11-15 17:04:44 +08:00
周乃宏 cec5c11573
Update README.md 2024-11-15 17:02:01 +08:00
周乃宏 ead6df2215
Update README.md 2024-11-15 17:00:56 +08:00
周乃宏 d2dc2455e9
Update README.md 2024-11-15 16:55:47 +08:00
周乃宏 b7bf9c59c4
Update README.md 2024-11-15 16:52:00 +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
naive231 9c4f5cea24 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:34:16 +08:00
naive231 11ed773d82 2024-11-14 23:56:13 +08:00
naive231 2a12bd7453 [change] Fill plugin manifest info. 2024-11-14 19:53:39 +08:00
Johannes Theiner ee04e2f81f
Merge pull request #120 from claremacrae/fix-readme-api-comment
Remove statement that API is unstable
2024-11-11 21:25:18 +01:00
Clare Macrae 92050ad841
Remove statement that API is unstable 2024-11-11 19:58:31 +00:00
Steph Ango daa0cba23c
Merge pull request #78 from aleksey-rowan/patch-1
Minify production build
2024-08-21 11:22:30 -07:00
Johannes Theiner bfa0145644
Merge pull request #91 from revolter/patch-1
Fix inconsistent indentation
2024-07-31 22:06:34 +02:00
Johannes Theiner 893e489e84
Merge pull request #92 from revolter/patch-2
Fix incorrect TypeScript spelling
2024-07-31 21:47:47 +02:00
Johannes Theiner d05f42d8c5
Merge pull request #95 from tobiasvl/patch-1
Update README.md
2024-07-31 20:18:53 +02:00
Tobias V. Langhoff 47ec36c11e
Update README.md
Update link to plugin guidelines
2024-03-02 22:30:14 +01:00
iulianOnofrei (U-lee-aan) de770934b2
Fix incorrect TypeScript spelling 2024-01-21 15:20:39 +02:00
iulianOnofrei (U-lee-aan) f4debcda6b
Fix inconsistent indentation 2024-01-19 21:14:58 +02:00
Aleksey Rowan 7330e7499a
build: minify prod build
closes #70
2023-11-15 14:10:43 -05:00
Aleksey Rowan e60294b950
Update manifest description (#77) 2023-11-15 12:17:04 -05:00
Lishid 7112f01bc6
Update README.md 2023-07-25 15:17:26 -04: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
Erica Xu 9be2b5d748
Update manifest.json 2023-07-11 11:37:36 -04:00
Alexander Pozdneev 2aee08d3d5
Remove old info about styles.css (#56) 2023-05-01 14:48:46 -04:00
Tim Rogers 0b5e5a2f6e
Upgrade esbuild to v0.17.x (#47) 2023-01-25 13:49:50 -05:00
INOUE Takuya 49fba8aa1f
fix .eslintignore (#48) 2023-01-19 10:06:51 -05:00
Erica Xu 747672e2f8
Merge pull request #42 from obsidianmd/funding-url
Add funding URL documentation
2022-12-05 15:57:04 -05:00
Erica Xu d3bb1e6775
Update README.md 2022-12-05 15:55:39 -05:00
Erica Xu b376f9c428
Add funding URL documentation 2022-12-05 15:49:16 -05:00
Erica Xu 97d84bc54b
Update manifest.json 2022-12-05 15:28:53 -05:00
lishid 866d3b8f0d Build: Target ES2018. 2022-08-20 20:25:17 -04:00
lishid 64e8649877 Update sample css file. 2022-08-09 13:39:02 -04:00
lishid b46f6c9322 Update for 0.15 2022-08-09 13:38:50 -04:00
lishid 04432b2ebf Upgrade dependencies, add strictNullChecks. 2022-06-24 15:41:39 -04:00
Lishid 00967d9040
Update esbuild.config.mjs 2022-06-19 20:50:11 -04:00
Henré Botha f85d2b74b5
Fix README headings (#29) 2022-05-07 11:15:23 -04:00