Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (95 sloc) 2.98 KB
<link href='' rel='stylesheet' type='text/css'>
<link href='' rel='stylesheet' type='text/css'>
body {
font-family: sans-serif;
background-color: #602E00;
color: #BE9054;
padding: 20px 10% 10px;
font-size: 15px;
h3, h4 {
text-shadow: -1px 1px 1px #444;
font-family: 'Average', serif;
h3 {
font-size: 3.5em;
text-align: center;
h4 {
color: lightblue;
font-size: 1.2em;
pre {
font-family: 'Ubuntu Mono', monospace;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0px 16px 16px -16px #000;
color: #000;
border: none;
form {
background-color: rgba(255,255,255,0.1);
padding: 30px;
color: #fff;
font-family: 'Average', serif;
border-radius: 4px;
input, textarea {
border: none;
padding: 10px;
margin: 5px;
border-radius: 5px;
box-shadow: 0px 16px 16px -16px #000;
textarea {
box-sizing: border-box;
width: 100%;
-moz-box-sizing: border-box;
button {
font-family: 'Average', serif;
border: none;
padding: 15px;
margin-top: -15px;
border-radius: 10px;
float: right;
box-shadow: 0px 0px 4px #000;
font-weight: bold;
font-size: 20px;
background-color: lightblue;
transition: all .2s ease-in;
cursor: pointer;
button:hover {
background-color: white;
<h3>pdfsnag - streaming pdf generator</h3>
<a href=""><img style="position: absolute; top: 0; right: 0; border: 0;" src="" alt="Fork me on GitHub"></a>
<h4>Base Request Params (GET and POST)</h4>
<b>url</b>: url to generate pdf from
<b>html</b>: html to generate pdf from
<b>name</b>: name of generated pdf (default: output.pdf)
<h4>Additional wkhtmltopdf Request Params Supported</h4>
<p><a href='' style='color: white'>Read about the options</a></p>
<h4>Example: Sample GET Requests</h4>
<a href='/?'>?</a>
<a href='/?html=<h1>Hi Mom&name=to_mom'>?html=&lt;h1&gt;Hi mom&amp;to_mom</a>
<a href='/?'>?</a>
<h4>Example: POST Example/Form</h4>
<form method='post'>
Name: <input name=name value=mygoogles>
Url: <input type=url name=url value=>
<button type='submit'>Let It Rip</button>
<p>Html:<br> <textarea name=html rows=15></textarea></p>
Jump to Line
Something went wrong with that request. Please try again.