Commit graph

12 commits

Author SHA1 Message Date
dragonish
d00a090099
feat(outline): add support for outline plugin
Resolve: #2
2025-03-31 13:41:04 +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
9a599ef1e5
fix(editing): fix last line in editing view not rendered 2025-03-14 13:23:53 +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
ffa2a73640
feat: support independent configuration of decorators for each editor mode 2025-03-11 13:08:06 +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
ae16e3718e
feat: implement decoration for live preview and source mode 2025-03-10 19:04:36 +08:00