Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Feature Request: Adding Colors to Source Code

by hossman (Prior)
on Mar 06, 2004 at 20:34 UTC ( #334530=note: print w/ replies, xml ) Need Help??


in reply to Feature Request: Adding Colors to Source Code

An alternate approach, that would probably be a lot simpler to impliment, but could help this use case -- as well as may others -- would be to add a single User Setting for controlling the mime/type returned when using "displaytype=displaycode" (ie: when clicking the Download COde" link).

This way, people could change their user setting to use "text/plain+perlmonks_code" as the mime type, and then configure their browser to use any app of their choice as a helper for that mime/type. Clicking "Viewing Code" would then launch that app -- which could colorize, be an editor, let them run the code in a debugger at the click of a button, whatever they want.


Comment on Re: Feature Request: Adding Colors to Source Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-05 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls