Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: using <pre> tags for citing perldocs!

by aquarium (Curate)
on Aug 04, 2010 at 06:03 UTC ( [id://852803]=note: print w/replies, xml ) Need Help??


in reply to using <pre> tags for citing perldocs!

You can refer to more extensive text of documentation with a url to the perldocs. Smaller text is trivial to reformat as needed to put in code tags.
Theoretically the hosting server could use something like Pygmy or similar package to remove all extra whitespace and apply a consistant formatting style to all code tagged blocks..with caching etc. But then that sounds like too much work and testing.
I do agree that the automated line breaks with added plus signs are a bit of an eye-sore. Doesn't help also that you can't TAB indent easily when typing a little code snippet.
the hardest line to type correctly is: stty erase ^H

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-29 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found