tersus icon indicating copy to clipboard operation
tersus copied to clipboard

Source Formatting

Open danrubin opened this issue 15 years ago • 4 comments

Just adding this to my list of things to review — I'm a big fan of "view source" looking nice with all the proper levels of indentation, so the output/hierarchy is easier to understand. Might be worth including that, plus a few more instructional comments to inform new users about things like hentry, various classes, why a DIV is used vs. some other element, comments at the top and bottom of every included file, etc.

danrubin avatar May 29 '10 11:05 danrubin

I like teh pretty too.

splorp avatar May 29 '10 19:05 splorp

Most of the source code is formatted pretty well, but could use some touch-up here and there. Inline documentation would be a great idea. Educating users about why things were done a certain way would make this theme an incredible resource.

cdharrison avatar May 30 '10 18:05 cdharrison

I'm not too familiar with how WordPress/PHP handles line endings/tabs, but that's about all I was thinking of cleaning up.

The comments, however, would indeed make this theme (and the others in concert) very useful.

danrubin avatar May 30 '10 19:05 danrubin

Line endings are generally reliant on the text editor being used and the default format that files are saved in. I’m using BBEdit with all files defaulting to UTF-8 (no BOM) with Unix endings (LF).

splorp avatar May 31 '10 04:05 splorp