Open
Description
Hello,
Is it possible to add a very simple example usage of the templates suggestion with custom html being returned please?
suggestion is a function that receives one argument, a suggestion to be displayed. It is used when rendering suggestions, and should return a string, which can contain HTML. warning Caution: because this function allows you to output arbitrary HTML, you should make sure it's trusted, and accessible.
Am I right in understanding that this could, for example, highlight the matching letters as bold text?