Hacker News new | ask | show | jobs
by kevincox 1399 days ago
gnome-terminal has a "Copy as HTML" option which is great for this. It basically generates a <pre> tag with colours and basic styling.