Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Feature suggestion for code-tags

by BrotherAde (Pilgrim)
on May 04, 2001 at 16:50 UTC ( #77940=monkdiscuss: print w/ replies, xml ) Need Help??

Fellow Monks:

I recently had a look at PerlTidy and got the idea that this could be implemented on perlmonks.

Obviously, the obfuscated coders would not want this. So I suggest adding an optional attribute to the <code>-tags, something like <code beautify="on">. There could also be an option in the user settings that turns beautification off for all posts, if people prefer to see their code in black&white.

What does everybody think?
BrotherAde

Comment on Feature suggestion for code-tags
Re: Feature suggestion for code-tags
by bobione (Pilgrim) on May 04, 2001 at 19:14 UTC
    It could be a good Idea, but I prefere keep old syntax and assume that every Monks will care of their syntax !

    BoBiOne

Re: Feature suggestion for code-tags
by ZZamboni (Curate) on May 07, 2001 at 02:19 UTC
    This might actually be nice. I like the output produced by PerlTidy. Of course, it should be optional and off by default, controlled by an attribute like you mention, probably. Also, there's the issue of how the colors would interact with the different themes.

    --ZZamboni

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://77940]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2014-07-25 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (172 votes), past polls