Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom to apply text-property to bullets #48

Open
mtwomey opened this issue May 15, 2023 · 0 comments
Open

custom to apply text-property to bullets #48

mtwomey opened this issue May 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mtwomey
Copy link

mtwomey commented May 15, 2023

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))))
@mtwomey mtwomey added the enhancement New feature or request label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants