support embed plain/text in html report

We have a project and we will generate a log file when something failed.
Currently we have to attach it to report as fake image.
But we prefer to add it as 'text/plain' mime type.

Could you support this feature? Thanks!
Link is here: https://github.com/cucumber/cucumber/issues/711
Did you mean to call this method `embed_text`?