unified-doc

Overview

This is an experimental example. The implementation and features are subject to change.

This example uses a custom EPUB parser to parse the EPUB file archive into HTML pages. With the EPUB book represented by a collection of HTML documents, we can benefit from all unified-doc APIs (e.g. render, search, export, marks etc).

Source Code

Features

  • Features from the Doc preview example apply here.
  • Upload and preview any .epub file using the DocPreview component.
  • Pagination support.

Concepts

  • Most concepts from the Doc preview example apply here.
  • Advanced async parsers to convert complex source data into an array of content, filename compatible with unified-doc.

Demo

View Sample EPUB
© 2020 unified-doc