LangelicEpub.Chapter (langelic_epub v0.1.1)

Copy Markdown View Source

A chapter in the spine. data is the raw XHTML bytes — the library does not parse or rewrite chapter HTML, that is the caller's responsibility.

Summary

Types

t()

@type t() :: %LangelicEpub.Chapter{
  data: binary(),
  file_name: String.t(),
  id: String.t(),
  media_type: String.t(),
  title: String.t() | nil
}