mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
54 lines
1.2 KiB
HTML
54 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<style>
|
|
body {
|
|
width: 1230px;
|
|
margin: 20px auto;
|
|
font-family: Georgia;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
a {
|
|
color: blue;
|
|
}
|
|
|
|
#editor {
|
|
width: 600px;
|
|
height: 775px;
|
|
margin-right: 20px;
|
|
display: inline-block;
|
|
}
|
|
|
|
iframe {
|
|
border: 1px solid black;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>PDFKit Browser Demo</h1>
|
|
<p>Bundled with Browserify</p>
|
|
<p><a href="http://pdfkit.org/">Website</a> | <a href="http://github.com/foliojs/pdfkit">Github</a></p>
|
|
<div id="editor"></div>
|
|
<iframe width="600" height="775"></iframe>
|
|
<script src="bundle.js"></script>
|
|
<script>
|
|
(function (i, s, o, g, r, a, m) {
|
|
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
|
(i[r].q = i[r].q || []).push(arguments)
|
|
}, i[r].l = 1 * new Date(); a = s.createElement(o),
|
|
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
|
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
|
ga('create', 'UA-48340245-1', 'pdfkit.org');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</body>
|
|
|
|
</html> |