Skip to content

feature: scope_highlight for custom checkboxes #207

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

Closed
fawni opened this issue Oct 17, 2024 · 2 comments
Closed

feature: scope_highlight for custom checkboxes #207

fawni opened this issue Oct 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@fawni
Copy link

fawni commented Oct 17, 2024

Is your feature request related to a problem? Please describe.

i would like to add a strikethrough in my custom checkbox:

custom = {
  canceled = {
    raw = "[~]",
    rendered = "󰅘 ",
    highlight = "DiagnosticError",
+   scope_highlight = "@markup.strikethrough"
  },
},

Describe the solution you'd like

implement scope_highlight for custom checkbox (render.md.CustomCheckbox.)

Describe alternatives you've considered

none.

Additional information

No response

@fawni fawni added the enhancement New feature or request label Oct 17, 2024
MeanderingProgrammer added a commit that referenced this issue Oct 17, 2024
## Details

Request: #207

Functions the same way as scope_highlight for checked and unchecked
checkboxes, but for all the user defined ones.
@MeanderingProgrammer
Copy link
Owner

Sure, added here: 2f36ac1

@fawni
Copy link
Author

fawni commented Oct 17, 2024

thank you!

@fawni fawni closed this as completed Oct 17, 2024
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