Ken Foskey wrote:
On Thu, 2004-07-22 at 22:06, Gavin Carr wrote:

On Thu, Jul 22, 2004 at 09:41:03PM +1000, Ken Foskey wrote:

Is there an easy way to assign a style sheet to the html that is
generated.  I have hunted but google turns up zero.

Generated how? pod2html should accept a --css arg, IIRC.

Indeed it does. Ken, do a 'perldoc Pod::HTM:' and it will say ...

Pod::Html takes the following arguments:
        --css=stylesheet
        Specify the URL of a cascading style sheet.  Also disables all
        HTML/CSS "style" attributes that are output by default.

e.g.
pod2html("pod2html","--infile=foo.pod",
                    "-css=foo.css",
                    "--outfile=foo.html");

If you do a 'man pod2html' it will not show the css options.

Mike

--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to