Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom CSS isn't included in output HTML #60

Open
uzluisf opened this issue Apr 28, 2019 · 1 comment
Open

Custom CSS isn't included in output HTML #60

uzluisf opened this issue Apr 28, 2019 · 1 comment
Labels
bug Just a bug

Comments

@uzluisf
Copy link

uzluisf commented Apr 28, 2019

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.

@JJ JJ added the bug Just a bug label Apr 28, 2019
@JJ
Copy link

JJ commented Apr 28, 2019

We'll have to check it out. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Just a bug
Projects
None yet
Development

No branches or pull requests

2 participants