• Font size
  • Line height
  • Font
  • astro-pdf

    [email protected]

    This is the documentation for the astro-pdf Astro integration.

    For more infomation on how to install and use astro-pdf, refer to the Getting Started guide.

    Exports

    Interfaces:
    Type Aliases:

    Signature

    export default function (options: Options): AstroIntegration

    Creates the astro-pdf integration.

    Parameters
    • options–astro-pdf configuration options

    Example

    import { defineConfig } from 'astro/config'import pdf from 'astro-pdf'export default defineConfig({    integrations: [pdf({        pages: {            '/': 'home.pdf'        }    })]})