I'm playing with the resources/examples/01-parse-files example:
use v6;
use Pod::To::HTML;
put Pod::To::HTML.render(
'README.pod6'.IO,
head-fields => '<style>a { color: black }</style>',
title => 'README.pod6',
css-url => $?FILE.IO.dirname ~ '/css/style.css',
);
However, the CSS stylesheet (resources/examples/css/style.css) doesn't get included. This gets fixed by specifying the css-url pair in the signatures of the render method and passing it to pod2html.
I'm playing with the
resources/examples/01-parse-filesexample:However, the CSS stylesheet (
resources/examples/css/style.css) doesn't get included. This gets fixed by specifying thecss-urlpair in the signatures of therendermethod and passing it topod2html.