assets_template
External CSS + SVG referenced from assets/.
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.html
<html>
<head>
<link rel="stylesheet" href="assets/styles.css" />
</head>
<body>
<h1>Static template with assets</h1>
<img src="assets/image.svg" />
</body>
</html>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;
}