59c4041a49
This patch also changes most examples to use "top level await", since that's now supported and slightly simplifies the code.
15 lines
398 B
HTML
15 lines
398 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Text-only PDF.js example</title>
|
|
<script src="../../node_modules/pdfjs-dist/build/pdf.mjs" type="module"></script>
|
|
<script src="pdf2svg.mjs" type="module"></script>
|
|
</head>
|
|
<body>
|
|
<p>Text-only PDF.js example</p>
|
|
<div id="pageContainer" style="display: inline-block; border: solid 1px black;">
|
|
</div>
|
|
</body>
|
|
</html>
|