www style
"J.C. Roberts" <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Organization | DesignTools |
| Message-ID | <[email protected]> |
On Thursday 29 March 2007 15:34, Nick Holland wrote: > Good addition (looks like developers forgot about this page), but > a few comments on style: > wrap at around 72 chars where at all possible. > (stuff in <pre> tags should be wrapped at 80 chars, to match what > would be on the screen, it's actually pretty important, as the > <pre> tags with long lines do funny things in rendering. I > fudged a bit here, by wrapping at a word boundary, as I figure > people should be reading the words...) > New sentence, new line. > blank line before <p> tags > no </p> tags > Put the <pre> tags inside <blockquote> tags > > (yeah, I see some of the other additions to this page don't quite > follow those guidelines, either...) Nick, Do we have anything like style(9) for www branch submissions/patches? I know there's good reason behind the formatting used, and I've always taken the "When-In-Rome" approach to patches, but I can't recall ever seeing anything official. Is it something worth documenting? -jcr