Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is that non trivial? You just need to use a monospace font and control for width


You also need to preprocess the text to deal with HTML reserved characters like <

Getting an individual piece of ASCII art to work is often possible reasonably quickly, but the more examples you want to include the more odd edge cases you find.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: