You can use tags like:
You should carefully use these tags to avoid breaking layout.
and you can use a string for text or a object for text with options.
singleLine
Boolean - Display as Single linetext
String - Textfunction search(query, res) {
res.add({
title: '<b>Bold</b> text',
desc: '<span style="color: blue">blue</span> text'
});
}
function search(query, res) {
res.add({
title: {
singleLine: true,
text: '<b>Title</b>'
}
});
}