Edit formatting of external text

Hello! :ne:

Wonder if there’s any way to format just parts of the text in an external source like a .txt document? HTML coding? if so, how?