How to set few words to bold dynamically inside the textblock

I am trying to set the few words in my sentence to bold in a text block dynamically. How to do that. Also, I am trying to use HTML tooltip but the positioning of it is wrong… it’s not like GOJS tooltip. How can position it as Gojs tooltip but use as Html one? So that it is easy for me to style it.

A GoJS TextBlock can only show one style for all of its text. Perhaps you could break up your display into consecutive TextBlocks. But that can be hard to implement.

For HTML tooltips, please read and look at the samples. You will want to put your positioning code in your function.