AnubisNekhet / AnuPpuccin

Personal theme for Obsidian
GNU General Public License v3.0
2.13k stars 161 forks source link

[Feature Request] Extensible custom checkboxes #181

Open ghost opened 1 year ago

ghost commented 1 year ago

Feature Description Custom checkboxes are incredibly useful, but it would be nice if they were also extensible, so anyone can easily add new types.

If this is already possible, some minimal instructions on how to go about it would be appreciated.

ghost commented 1 year ago

Another idea (though I'm not sure you can do this only with CSS): allow using emojis (- [📦]) and use the emoji as bullet point.

carlospazuzu commented 1 year ago

I liked this idea a lot! I love this bullet icons to stylize my texts and was searching for a way to put a custom orange "⚠️" to put as a bullet point and found this issue

AnubisNekhet commented 1 year ago

Obsidian's markdown rendering system does not allow emojis as valid input for checkboxes afaik. As for adding new checkboxes, the only possible method I can think of is compiling a snippet file via sass, which has a pretty high learning curve. I'm still working on developing a snippet to easily allow you to make your own checkboxes though it will take some time. Thank you for your understanding!

FelixBrakel commented 1 year ago

+1 for this and interesting to see this issue reopened :eyes:

Right now I use both the AnuPpuccin and SIRvb checkboxes which have some small incompatibilities since they overwrite each other's styling for some checkboxes. This feature would improve the compatibility with other CSS snippets as well.