Skip to content

Include CSS resources in HEAD? #518

Open
jean opened this Issue Jan 8, 2014 · 1 comment

2 participants

@jean
Plomino member
jean commented Jan 8, 2014

When generating PDF from Plomino forms, it can be a pain to get links to stylesheets to work.
E.g. during generation wkhtmltopdf would make anonymous requests for linked resources.

Proposal: for CSS resource lines that start with inline: the referenced resource is rendered as a STYLE tag.

So for a specification such as:

something.css
inline:another.css

we would get:

<link rel="stylesheet" href="...something.css" />
<span>
h1 {...} /* style from another.css
</span>

Does this sound good?

@ebrehault
Plomino member

yes, very good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.