Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Allow HTML in result title/subtitle fileds #192

Open
blakek opened this issue Feb 1, 2017 · 1 comment
Open

Allow HTML in result title/subtitle fileds #192

blakek opened this issue Feb 1, 2017 · 1 comment
Labels

Comments

@blakek
Copy link
Contributor

blakek commented Feb 1, 2017

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!

@bayleedev
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants