Skip to content

Reader: open a single-file .html / .htm as a book #259

Description

@cubman3134

Left out of #144 (PR #251), which shipped CBR, FB2, AZW3, plain text and Markdown. The issue's text bullet also named single-file HTML. It is the same HTML model the Markdown and FB2 paths already render into: parse the document, split chapters on top-level headings (else one chapter), resolve relative images beside the file, join the #134 scan by extension with the coverless placeholder. Pin with a case in probe_ebookformats. About forty lines.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions