@mfgames-writing/epub2
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

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/ttf

In 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.

Package Sidebar

Install

npm i @mfgames-writing/epub2

Weekly Downloads

7

Version

1.5.0

License

MIT

Unpacked Size

75.8 kB

Total Files

26

Last publish

Collaborators

  • dmoonfire