This is an experimental example. The implementation and features are subject to change.
This example uses pdf.js to convert PDF documents into HTML documents containing images and text nodes. With the PDF document represented by a collection of HTML documents, we can benefit from all unified-doc APIs (e.g. render, search, export, marks etc).
.pdf file using the DocPreview component.content, filename compatible with unified-doc.