Skip to content

Instantly share code, notes, and snippets.

Zack Schwartz apexdodge

Block or report user

Report or block apexdodge

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
apexdodge / gist:e188ce23032d9c12f78eeafb2841b1ff
Created Aug 21, 2018
footer with page numbers for wkhtmltopdf on api2pdf
View gist:e188ce23032d9c12f78eeafb2841b1ff
"html": "<p>Hello World</p>",
"inlinePdf": true,
"fileName": "test.pdf",
"options": {
"footerRight": "Page [page] of [topage]"
apexdodge / gist:61ababd37e649c8cfd8f8437c0ff1d87
Created Oct 7, 2018
Bootstrap 4 HTML Template for Displaying Form Data / Applicant Data
View gist:61ababd37e649c8cfd8f8437c0ff1d87
<link rel="stylesheet" href="" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
@page {
@bottom-right {
content: counter(page) " of " counter(pages);
apexdodge / gist:f2c0acc1f3c10159e6c1114685b5eb42
Created Nov 13, 2018
HTML - Testing Different System Fonts
View gist:f2c0acc1f3c10159e6c1114685b5eb42
<html lang="en">
<p>Hello World, no font family, defaults to Times New Roman</p>
<p style="font-family:Times New Roman;">Hello World, Times New Roman</p>
<p style="font-family:Arial;">Hello World, Arial</p>
<p style="font-family:Helvetica;">Hello World, Helvetica</p>
<p style="font-family:Courier;">Hello World, Courier</p>
<p style="font-family:Verdana;">Hello World, Verdana</p>
<p style="font-family:Tahoma;">Hello World, Tahoma</p>
<p style="font-family:Arial Black;">Hello World, Arial Black</p>
View gist:96419862e9bcf6b8729b496b31d66eb2
<html style="color:green;" lang="en">
<link href="" rel="stylesheet">
<p style="font-family:Spicy Rice, cursive;">Example of a custom font from</p>
View gist:659fe63a3c8ccbbeec56cbbbd24d328f
import React, { Component } from 'react';
class HtmlToPdf extends Component {
convertHtmlToPdf(e) {
fetch('', {
method: 'post',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
'Authorization': 'YOUR-API-KEY' //Get your API key from
View gist:556badd8b4fbf71d3cc566800b52b012
<script src="" integrity="sha256-iT6Q9iMJYuQiMWNd9lDyBUStIq/8PuOW33aOqmvFpqI="
body {
background: #20262E;
padding: 20px;
You can’t perform that action at this time.