print HTML::HTML5::ToText->with_traits(qw/ShowLinks ShowImages TextFormatting RenderTables/)->new()->process_string($html_string);