Simple js html generator that splits the contents of a div into pages to look like pdf.
How to use
- Include script file
<script type="text/javascript" src="./pdf_viewer_1.0.js"></script>
- Write the pdf inside the preview div
<div data-pdf-preview>
...
</div>
- There is no 3rd step