Subject: | Helpful tip for MetaCPAN looks |
MetaCPAN's CSS file works quite nicely in rendering the preview POD. You should include some docs around it. Here's what I do:
This is in my home directory's .podpreview file:
html_css = ../../Users/Brendan/Documents/code/metacpan/metacpan-web/root/static/css/style.css
The CSS path is from MetaCPAN's metacpan-web git repo. If you don't have that and don't want to clone the whole thing, you can just steal the CSS file here:
https://github.com/CPAN-API/metacpan-web/blob/master/root/static/css/style.css
And then modify the html_css to the appropriate path. The resulting rendering is almost exactly like MetaCPAN.