Commit graph

28 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
5f1d91cfe0
fix(outline): fix exceptions when the heading contains some special symbols
Fixed: #14
2025-05-16 22:11:54 +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
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
e43dccaf00
merge(main): merge branch 'exp' 2025-04-19 20:29:56 +08:00
dragonish
a889e0bda3
feat: allow for easy customization of decorator styles
No longer use pseudo-element rendering decorators, but use entity
rendering instead.
2025-04-18 23:35:39 +08:00
dragonish
58e05c4bfb
fix(outline): fix exceptions when the heading contains links
Fixed: #9
2025-04-18 13:36:05 +08:00
dragonish
ec9dac6c8c
fix(outline): fix exceptions when the heading contains escape symbols
Including `\` in the heading may result in incorrect comparison.
2025-04-09 23:02:41 +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
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
acd5892f99
tweak(data): supplement the default setting value 2025-04-02 21:25:26 +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
8809c4870f
types(data): simplify type 2025-04-02 13:42:57 +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
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
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
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
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