Skip to content

Custom CSS isn't included in output HTML #60

@uzluisf

Description

@uzluisf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugJust a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions