Commit graph

20 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
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
b413fe2035
feat(styles): allow custom decorator spacing using CSS variables 2025-04-22 22:13:07 +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
03db39ca6f
fix(styles): fix some issues that could not be rendered in live preview
In live preview, if the heading contains tags, the decorator cannot be
rendered.

Refs: bd7e486deb
2025-04-19 20:48:22 +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
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
6c96917e07
fix(styles): fix decorator not render when losing focus in edit view
After the heading on the active line loses focus in the editor, the
decorator will not be rendered.

Fixed: #4
2025-03-31 20:37:08 +08:00
dragonish
bd7e486deb
fix(styles): fix some issues that could not be rendered in live preview
In live preview, if the heading contains tags, the decorator cannot be
rendered.

Fixed: #3
2025-03-31 14:27:31 +08:00
dragonish
d00a090099
feat(outline): add support for outline plugin
Resolve: #2
2025-03-31 13:41:04 +08:00
dragonish
9b4e88448a
tweak(styles): use predefined variables 2025-03-30 20:08:45 +08:00
dragonish
97af52746a
tweak(styles): optimize the situation when "Fold heading" is not enabled 2025-03-13 12:22:58 +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
5b2ad2ab6e
fix(preview): fix decorator render exception when a heading other than current row is selected
Prevent render decorator when selecting a heading.
2025-03-11 10:13:18 +08:00
dragonish
93c3c04610
fix(source): fix the heading decorator in source mode that might render an exception
This issue may be triggered when switching from reading view to source mode.
2025-03-10 21:37:30 +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