Closed overkill864 closed 1 year ago
Same! This would be a really helpful function.
Wanted to bump this and express interest in this feature—not sure how logistically difficult it'll be to implement, but being able to add extra list callouts would be the feature that would make the largest difference for my usage.
Upvote from me too. This would make your plugin much more useful for me.
I figured how to do this, by making a small edit/hack to the plugins main.js file. It's not fancy and definitly not a replacement for a proper implementation, but I wanted to have this right away, for my heavy use of list callouts.
Here is how to do it:
your-obsidian-vault-folder\.obsidian\plugins\obsidian-list-callouts
)main.js
filevar DEFAULT_SETTINGS = [
Example of the edited section:
var DEFAULT_SETTINGS = [
{
color: "255, 214, 0",
char: "&"
},
{
color: "255, 145, 0",
char: "?"
},
{
color: "255, 23, 68",
char: "!"
},
{
color: "124, 77, 255",
char: "~"
},
{
color: "0, 184, 212",
char: "@"
},
{
color: "0, 200, 83",
char: "$"
},
{
color: "158, 158, 158",
char: "%"
},
{
color: "255, 0, 255",
char: "="
}
];
It is recommended that you backup the edits you make, in case an update of the plugin overwrites them.
Coolio! Thanks for posting this. I was after more/different icon as well -- but you inspired me to go poking around the main.js
, and I found that simply adding the name of a Lucide icon to the list beginning at line 84, I was able to supplement the icon list. = happy bunny!
Your're welcome. You actually don't have to add the icon to that list to use it. I configured everything in the data.json
. Setting the icon there will work as well, even if it is not defined as usable icon.
Hey all, thanks to eth-p you can now add additional callout definitions in the latest version
I would love if we could add the ability to add more callouts and possibly https://lucide.dev/ icons instead. I don't mind if I reuse colors and such, having more callout options is the most important thing. Selecting more colors would be a plus as well, possibly even having a transparent one to just showcase an icon in front of the content. I imagine it could work similar to how you can add 'New Rules' in the plugin 'Auto Note Mover'
My use case: This plugin works fantastically for a sort of advanced bullet journaling. Right now I use tags like
#bookmark
as the callout character which is amazing because it does two things: 1. It hides the tag from view and 2. It Puts the bookmark icon in its place.Being able to add more callouts with more tags would allow a much more visually organized system while still being completely searchable via tags. Either way, love this plugin! Thanks for making it!