2.1.1 • Published 4 years ago
@mfgames-writing/epub2-format v2.1.1
EPUB Formatter Moonfire Games Writing
This plugin is used to create EPUB documents for Moonfire Games Writing Formatter.
Including Assets
To include an asset into the EPUB, such as a font, use the following:
editions:
  epub:
    format: "@mfgames-writing/epub2"
    assets:
      - path: relative/path/to/font.ttf
        archivePath: assets/font.ttf
        mime: font/ttfIn the above example, the path to reference inside the EPUB is "assets/font.ttf". path can be used to pull in a font from node_modules/ if desired.