How to integrate images into text unity?

Here are two screenshots from Stellaris where images are seamlessly integrated into the text. How can I achieve this in unity?

enter image description here

enter image description here