Commit graph

40 commits

Author SHA1 Message Date
dragonish
c0bd1e15aa
feat: add a new independent decorator mode
Resolve: #22
BREAKING CHANGE: adjust some settings, introduce a new decorator mode setting.
2026-01-09 13:04:07 +08:00
dragonish
9e98a8edea
typo(data): correct function name 2026-01-08 17:50:17 +08:00
dragonish
fd39b029aa
refactor(classname): adjust the reference method of the class name 2026-01-05 17:29:36 +08:00
dragonish
dd8eb7b53d
feat(reading): allow custom render policy for reading view
Allow customization of the render policy for heading decorators in the
reading view when editing note content.

Refs: #20
2025-08-24 12:25:45 +08:00
dragonish
99943ed615
feat: add support for custom leading delimiter
Resolve: #19
2025-08-16 10:25:31 +08:00
dragonish
7edebece29
feat: support to specify the maximum level of recognition
Resolve: #17
2025-08-10 21:55:41 +08:00
dragonish
4de7550ada
feat: support for custom trailing delimiter
Resolve: #18
2025-08-10 20:09:28 +08:00
dragonish
c67fede46a
feat(settings): add generic heading decorator configuration
Resolve: #16
BREAKING CHANGE: adjust the logic of the settings.
2025-08-05 22:22:22 +08:00
dragonish
f640b8e515
feat: support always ignore the top-level headings 2025-06-20 20:48:02 +08:00
dragonish
298a7f57f8
enh(i18n): add internationalization support 2025-06-15 16:50:44 +08:00
dragonish
d420ddd3e2
refactor(reading): extract the processing code of the reading view into a file 2025-05-29 12:53:32 +08:00
dragonish
55729c1e13
enh(plugin): make the decorator settings changes on the third-party plugin take effect immediately
When changing the relevant decorator settings, re-render the
decorator on the third-party plugin.
2025-05-29 00:00:00 +08:00
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