https://salesforcecodex.com/salesforce/posting-rich-text-chatter-using-apex/
Posting Rich Text Chatter using Apex