Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Are you are aware of the 'download code' option that outputs a nice, printer friendly version of any code that is within a node?

Just look for the d/l code link at the bottom of your node, or just append a &displaytype=displaycode to the end of the URL.

This works great for grabbing clean copies of code, but of course, this doesn't capture any normal text.

Update: Yeah, I did have this feeling that you would know that that one :-). I'll leave my suggestion here though, for others who might not be aware of it.

I don't personally see a need for a printer-friendly version, as the current layout prints neat on my printer. But it's a valid suggestion, and ++ for providing code, which I'm about to d/l using &displaytype=displaycode and test :-)

Update 2: should this be posted in the snippets section?

- wil

In reply to (wil) Re: Printer friendly pages on perlmonks. by wil
in thread Printer friendly pages on perlmonks. by Dog and Pony

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-09-28 20:15 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (124 votes). Check out past polls.