Hacker Newsnew | comments | ask | jobs | submitlogin
brett 1672 days ago | link | parent

a good way to put chunks of code in comments. ideally some wrapper notation around the code that does all or some of the following for its contents:

-uses a monospaced font

-newlines get turned into <br> so that lines show up next to eachother

- < and > get html escaped

- extra spaces and tabs get turned into &nbsp;s to preserve indentation




Lists | RSS | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Search: