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

Re: Free Nodelet hack: Syntax colouring (THX!)

by LanX (Chancellor)
on Aug 30, 2009 at 22:40 UTC ( #792233=note: print w/ replies, xml ) Need Help??

in reply to Free Nodelet hack: Syntax colouring

Excellent, works very nice for me... =)

... just had some problems to notice that I have to filter the '+' from the url maybe you should link to the correct file on your server! ;-)

(OK, the second best solution would be just a newline before src= to avoid line wrapping...)

Cheers Rolf

Comment on Re: Free Nodelet hack: Syntax colouring (THX!)
Select or Download Code
Replies are listed 'Best First'.
Re^2: Free Nodelet hack: Syntax colouring (THX!)
by Corion (Pope) on Aug 31, 2009 at 07:10 UTC

    There is no "+" in the code if you use the "[download code]" link instead of cut'n'paste. Alternatively, you can edit your user settings and disable code wrapping, if you want to cut and paste, but that will lead to widened pages.

      I know all of this, but do beginners, too???

      A simple return to break the script-tag into two lines and you may double the number of users...

      Strange, you as a MS fan should care about brainless users ... ;-D

      Cheers Rolf


      <script> var headID = document.getElementsByTagName("head")`[0`]; var cssNode = document.createElement('link'); cssNode.type = 'text/css'; cssNode.rel = 'stylesheet'; cssNode.href = ''; = 'screen'; headID.appendChild(cssNode); </script> <script type="text/javascript" src=""></script>
      That can be easily fixed with CSS overflow: auto;, you get horizontal scrolling bar instead of wide pages.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-11-25 00:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls