It can already to other text formats. Just change the extension. So if you copied HTML code, just choose Paste As File and change the extension to HTML, or any other plain text file format. I use it for TXT, PHP, HTML, CSS and DSC just to name a few.
I think I may be able to add command line support. I'll look into that.