zazu
zazu copied to clipboard
Allow HTML in result title/subtitle fileds
Some plugins need certain styles or markup in the results field independent from the theme used by the end user. For example, with zazu-emoj, I'd like to set a certain font-family for the results without the user needing to change the font used in their theme.
Here's what I was thinking (in plugin result field):
[
{
/* other options */
title: `<span style="font-family: Segoe UI Emoji">${emoji}</span>`
}
]
Thanks for letting me know your thoughts!
This could create a similar issue as tinytacoteam/zazu-clipboard#11, but it is something that would be useful to address.