integral-dw/org-superstar-mode

custom to apply text-property to bullets

mtwomey opened this issue · 0 comments

I think it would be a good enhancement to allow a custom var for a text property (or properties) to apply to superstar bullets. My specific use case is that I am using unicode bullets that don't align real well vertically. I'm working around this right now with function advice:

(advice-add #'org-superstar--prettify-main-hbullet :after
            (lambda (&rest r)
              (put-text-property (match-beginning 1) (match-end 1)
                                 'display '(raise 0.1))))