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

It's not bad, but I prefer netmeister's.

> Wrapping everything in a pre block isn't necessary.

I'm not saying it has to be all or nothing... but I don't see the point in not wrapping in a pre block or equivalent, having a mix is fine, i.e using an anchor or some <b> and <i> tags if you want sure, but if you are going to insert a bunch of LFs in there anyway for your column width, why not also use them for paragraphs separation, it just seems odd to me to use <p> instead and to clutter the source.

You can have HTML inside pre, and you can have as much or little as you want.



You can use <p> without cluttering. Put </p><p> on its own line and at a different indentation level. I saw someone do this recently, and the plain HTML read just as well as any plaintext doc I ever saw while also rendering perfectly on the phone (which this article doesn’t do thanks to its use of pre).


what exactly is happening on phones with pre?




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

Search: