I have to copy some text from a plain text file into Gmail's mail composer and make some parts of that text bold. I can obviously boldface those specific parts manually after pasting it to the composer. But is there a way to do this automatically such that when I copy that content to the Gmail composer those parts is already bold.
For example, here's the plain text to be copied to Gmail:
Breaking News: Elon Musk just invaded Mars.
I would normally copy this text to Gmail's composer and manually bolden the part Breaking news. But if the source would have been, say, MS Word file instead of a plain text file, Gmail would have boldfaced it for me.
Background: The reason I am looking for this is that the plain text file is an output of a simple Java program and I would just edit the Java program to give the necessary output that would handle boldfacing.
P.S: I have tried wrapping those parts with <b>
tags like this:
<b>Breaking news </b>: Elon Musk just invaded Mars.
It didn't work. Gmail simply prints the tag itself with my content.