I try to style some specific text in a completion result, but it is hard as html doesn’t seem to be allowed here.
Any suggestions how I could achieve this result ?
I try to style some specific text in a completion result, but it is hard as html doesn’t seem to be allowed here.
Any suggestions how I could achieve this result ?
Add a render
method to the completion result (which can be an object with a text
property, instead of a string). It’ll be called with (DOMNode, ResultObject, Completion)
arguments.
Works ! thanks for that