Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

Replies are listed 'Best First'.
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 !


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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-05-22 20:56 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (81 votes). Check out past polls.