Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Way to render HTML string to PDF? #12

@elyngved

Description

@elyngved

In addition to passing in a URL, it would be great if I could pass in a string of HTML, as is supported by the Ruby wkhtmltopdf gems out there. I know this is possible in PhantomJS by using the following code:

var page = require('webpage').create();
page.content = '<html><body><p>Hello world</p></body></html>';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions