There's more than one way to do things | |
PerlMonks |
Re: New displaytype 'selectcode' (concise)by tye (Sage) |
on Jun 13, 2005 at 13:48 UTC ( [id://466162]=note: print w/replies, xml ) | Need Help?? |
I'd replace the table with "<p>checkbox, d/l link<br />first few lines of code...last few lines of code</p>". Code blocks tend to be large and wide and the table just makes the wideness worse and separating check boxes with huge chunks of code doesn't seem like a great interface... If you want that interface, just put "download this" links after each code block in the original node. Yes, I'd make such links the default with a user setting to turn them off. That way, everyone knows about the capability but those who don't like it can avoid it. I'd default to not showing inline code chunks. The times when downloading such is useful are certainly the exception. I wouldn't mind if the only way to get the inline chunks is to "download all", but providing a link "show in-line code chunks" would be fine too. - tye
In Section
Inner Scriptorium
|
|