Commit graph

38 commits

Author SHA1 Message Date
dragonish
619d950ae8
refactor(main): split the main file 2025-05-28 20:54:46 +08:00
dragonish
c7657ab7d1
fix(quiet-outline): fix residual decorators after change settings
For rendering reasons, the old class names will not be removed, so
they need to be handled by oneself.
2025-05-28 20:31:11 +08:00
dragonish
6fe4b0ff63
feat: add support for the "Quiet Outline" plugin
Refs: https://github.com/guopenghui/obsidian-quiet-outline
Resolve: #15
2025-05-27 22:44:28 +08:00
dragonish
cc7a05af32
feat(source): allow to hide number signs (#) in source mode
Resolve: #11
2025-04-27 21:36:17 +08:00
dragonish
c33a1e055d
enh(frontmatter): improve the parsing of cssclasses
Make the behavior of parsing `cssclases` consistent with the behavior
of parsing the property keywords.
2025-04-22 21:25:27 +08:00
dragonish
977ae39a32
tweak(settings): optimize navigation between settings pages 2025-04-22 20:56:12 +08:00
dragonish
480480f288
refactor(child): modify component name 2025-04-22 20:39:12 +08:00
dragonish
a170a4c6c8
ui(settings): change some words 2025-04-22 20:34:45 +08:00
dragonish
2d645c9cf9
feat: add support for the "Headings in Explorer" plugin
Refs: https://github.com/patrickchiang/obsidian-headings-in-explorer
Resolve: #10
2025-04-22 19:27:05 +08:00
dragonish
6e67ce5157
tweak(settings): adjust the description element of the settings 2025-04-22 19:08:12 +08:00
dragonish
22d0c05605
enh(outline): remove the decorator immediately when detaching the function
To avoid the decorator remaining until the outline view is re-rendered
after disabling the option to decorate the outline plugin.
2025-04-22 13:55:57 +08:00
dragonish
a1da3b401d
perf(outline): improve the timing of reading settings 2025-04-21 23:04:40 +08:00
dragonish
ee70a4349c
feat: add new decorator position options
Mainly used to resolve rendering conflicts with some themes.

Resolve: #8
2025-04-09 21:45:01 +08:00
dragonish
3e79efd0ad
ui(settings): adjust the settings page 2025-04-03 22:23:31 +08:00
dragonish
c013db2e56
feat: add support for blacklist function
Allow to specify the folder blacklist and the regex blacklist of note name.

Resolve: #7
2025-04-03 22:12:50 +08:00
dragonish
a1b31decd4
feat(settings): allow to setting a maximum number of ignored headings 2025-04-02 21:51:54 +08:00
dragonish
ee3122c7d1
feat: support read the enabled status from the cssclasses field of property
Resolve: #5
2025-04-02 19:56:23 +08:00
dragonish
5941b848a8
feat: support control of the enabled status in each note
Add new settings and support reading information from metadata.

Refs: #5
2025-04-02 19:06:43 +08:00
dragonish
d52d7bed1f
perf(outline): improve efficiency 2025-04-01 23:43:55 +08:00
dragonish
5cde58f449
perf(outline): recycle end-of-life components
When the tab of the outline view is closed, the plugin no longer stores
the subcomponents of this view, allowing the system to recycle them; In
addition, when the function is disabled, its subcomponents are removed
from the outline view.
2025-04-01 23:33:54 +08:00
dragonish
25fbd35d8f
fix(settings): add missing settings tab name 2025-04-01 19:38:09 +08:00
dragonish
b147d52806
tweak(outline): handle cases where the heading contains html
If the heading contains HTML tags, it will be judged as not matching
the heading text in the outline.
2025-03-31 14:45:54 +08:00
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
4b358eb442
types: put the common type globally 2025-03-30 17:19:35 +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
a45a8bd5be
perf(reading): optimize performance in reading view 2025-03-18 21:35:44 +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
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
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
1f6c51b6be
feat: add support to ignore the single heading at the top-level 2025-03-10 22:45:56 +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
2e864e9bf9
init: repository initialisation 2025-03-08 20:39:07 +08:00