dragonish
d00a090099
feat(outline): add support for outline plugin
...
Resolve : #2
2025-03-31 13:41:04 +08:00
dragonish
4b358eb442
types: put the common type globally
2025-03-30 17:19:35 +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
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
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
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
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
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
1f6c51b6be
feat: add support to ignore the single heading at the top-level
2025-03-10 22:45:56 +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