zazu icon indicating copy to clipboard operation
zazu copied to clipboard

Allow HTML in result title/subtitle fileds

Open blakek opened this issue 7 years ago • 1 comments

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!

blakek avatar Feb 01 '17 21:02 blakek

This could create a similar issue as tinytacoteam/zazu-clipboard#11, but it is something that would be useful to address.

bayleedev avatar Feb 01 '17 22:02 bayleedev