dragonish
d00a090099
feat(outline): add support for outline plugin
...
Resolve : #2
2025-03-31 13:41:04 +08:00
dragonish
eaa8b0dce6
typo(main): correct variable names
2025-03-30 20:59:36 +08:00
dragonish
9b4e88448a
tweak(styles): use predefined variables
2025-03-30 20:08:45 +08:00
dragonish
4b358eb442
types: put the common type globally
2025-03-30 17:19:35 +08:00
dragonish
9f80025867
chore(release): 1.2.0
2025-03-28 22:26:08 +08:00
dragonish
0f7c18588d
config(package): adjust script command
...
Refs: e6ffe2abbc
2025-03-28 22:25:49 +08:00
dragonish
5392f652d3
docs(images): update example images
...
Refs: 6e623345b7
2025-03-27 22:06:20 +08:00
dragonish
6e623345b7
tweak: optimize the offset of headings without prefix decoration
...
When the "Ignore the single heading at the top-level" option is
enabled, the heading will be accidentally offset if there is no content to
decorate.
2025-03-27 22:00:13 +08:00
dragonish
4067f24130
docs(readme): add a description of the new setting item
...
Add a description about the "Based on the existing highest level" setting.
Refs: 3b5c714c11
2025-03-27 21:43:02 +08:00
dragonish
3b5c714c11
feat: support based on the existing highest level
...
Use the highest level of headings in the note as the base for ordered list.
Resolve : #1
2025-03-27 21:19:28 +08:00
dragonish
e6ffe2abbc
chore(package): replace dependencies
2025-03-27 20:10:40 +08:00
dragonish
fbc164bc65
chore(package): upgrade development dependencies
2025-03-27 20:07:52 +08:00
dragonish
934a18be3b
chore(release): 1.1.3
2025-03-21 13:03:47 +08:00
dragonish
81ae471299
docs(readme): update description
2025-03-21 13:01:55 +08:00
dragonish
37b5d87209
tweak(manifest): update the plugin description
...
Refs: https://github.com/obsidianmd/obsidian-releases/pull/5666#issuecomment-2741573226
2025-03-21 13:01:24 +08:00
dragonish
331a182c47
docs(readme): add a description about the settings
2025-03-21 12:44:14 +08:00
dragonish
9973b1c36f
chore(release): 1.1.2
2025-03-19 23:10:05 +08:00
dragonish
7d3e16cdcd
ci(gitea): restore the tag-changelog action
...
Gitea v1.23.0 makes API "compare" accept commit IDs.
Refs: https://github.com/go-gitea/gitea/pull/32801
2025-03-19 23:08:14 +08:00
dragonish
a45a8bd5be
perf(reading): optimize performance in reading view
2025-03-18 21:35:44 +08:00
dragonish
a6dacca55e
chore(release): 1.1.1
2025-03-17 21:51:35 +08:00
dragonish
777f0781f2
tweak(reading): optimize some special use cases in the reading view
...
1. When using the page preview feature to only reference fragments, the
relative position of rows is incorrect.
2. In the split editing scenario, there may be a delay in the information
on the reading tab.
2025-03-16 13:00:43 +08:00
dragonish
2f12223631
chore(release): 1.1.0
2025-03-15 20:05:35 +08:00
dragonish
60579bf464
config(git): specify the eol of the manifest.json file
2025-03-15 20:05:28 +08:00
dragonish
db741bb195
fix(heading): fix some judgment errors for heading alternate syntax
...
Handles special rows and special cases of `-`.
2025-03-14 15:15:53 +08:00
dragonish
9a599ef1e5
fix(editing): fix last line in editing view not rendered
2025-03-14 13:23:53 +08:00
dragonish
acac8fe60b
fix(reading): fix reading view not render in some cases
...
No longer using cache to parse headings, instead based on the content of
the file and avoiding information asymmetry caused by cache latency.
2025-03-14 13:17:36 +08:00
dragonish
6a3c3ac3e6
fix(heading): fix some judgment errors for heading alternate syntax
...
Bumped the line number tracking for new lines in headings. The
`nextLineNum` property keeps track of the expected starting point for a
new line and is used to validate incoming lines. This change prevents
invalid line numbers from being accepted.
2025-03-13 13:49:23 +08:00
dragonish
97af52746a
tweak(styles): optimize the situation when "Fold heading" is not enabled
2025-03-13 12:22:58 +08:00
dragonish
18a4b8bc54
docs(readme): add interaction with the collapse button
...
Refs: dd6b92e792
2025-03-13 11:28:10 +08:00
dragonish
8c6b22b29b
docs(readme): update description and images
...
Refs: dd6b92e792
2025-03-13 11:14:10 +08:00
dragonish
30b1f9cc87
docs(readme): add a description of the new setting
...
Add a description of the "Allow zero level" setting.
Refs: fb63af97d1
2025-03-13 10:32:59 +08:00
dragonish
20d2477c24
enh(editing): optimize the user experience in the editing view
...
No longer using cache to parse headings, instead based on real-time
content and avoiding information asymmetry caused by cache latency.
2025-03-13 10:15:02 +08:00
dragonish
fb63af97d1
feat: add allow level can be displayed as zero
...
If the next heading is more than one level higher, the omitted level is
zero instead of one.
2025-03-12 22:20:38 +08:00
dragonish
dd6b92e792
enh: optimize the interaction between the decorator and the collapse button
...
No longer add space characters to the boundary of
decorator content, instead use styles to control the
spacing between decorators and headings.
2025-03-12 15:57:17 +08:00
dragonish
0d4c4273dc
fix(preview): fix render exception when heading contains inline code in live preview
...
Replace the line decoration.
2025-03-12 14:04:44 +08:00
dragonish
f720bd1a1e
docs(readme): update the description of the settings
2025-03-11 13:32:10 +08:00
dragonish
3be4a6273f
docs(images): optimize the size of images
2025-03-11 13:10:40 +08:00
dragonish
ffa2a73640
feat: support independent configuration of decorators for each editor mode
2025-03-11 13:08:06 +08:00
dragonish
0d155c6294
tweak(counter): avoid potentially modify constant value
2025-03-11 11:57:04 +08:00
dragonish
5b2ad2ab6e
fix(preview): fix decorator render exception when a heading other than current row is selected
...
Prevent render decorator when selecting a heading.
2025-03-11 10:13:18 +08:00
dragonish
3790613659
docs(readme): add description
2025-03-10 23:51:26 +08:00
dragonish
1f6c51b6be
feat: add support to ignore the single heading at the top-level
2025-03-10 22:45:56 +08:00
dragonish
6bbdbf53aa
fix(view): fix inability to detect editor mode switching
2025-03-10 21:51:19 +08:00
dragonish
93c3c04610
fix(source): fix the heading decorator in source mode that might render an exception
...
This issue may be triggered when switching from reading view to source mode.
2025-03-10 21:37:30 +08:00
dragonish
2035ca12ea
ui(setting): improved description of settings
2025-03-10 20:03:45 +08:00
dragonish
ae16e3718e
feat: implement decoration for live preview and source mode
2025-03-10 19:04:36 +08:00
dragonish
72021e2542
feat: implement decoration for reading view
2025-03-10 14:01:36 +08:00
dragonish
e0bc6540ee
config(eslint): add an eslint configuration
2025-03-08 21:58:29 +08:00
dragonish
2e864e9bf9
init: repository initialisation
2025-03-08 20:39:07 +08:00