embed_assets
Inlined CSS and a base64 data-URI image via embed helpers.
Browse this template in the repository →
The PDFs below are rendered live by PDF Server from the shipped examples.
default
Inputs
Render data
default
{}
Template
template.handlebars
Assets
assets/image.svg
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" stroke="red" fill="grey">
<circle cx="50" cy="50" r="40" />
</svg>
assets/styles.css
body {
background-color: yellow;
color: green;
}