Would it be possible to style specific text in a completion 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.

1 Like

Works ! thanks for that :slight_smile: