diff --git a/README.md b/README.md index be40372..c038672 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ Gotenberg::libreOffice($apiUrl) // Alternatively, you may also set the content directly. Gotenberg::chromium($apiUrl) ->pdf() - ->html(Stream::string('

Hello, world!

')); + ->html(Stream::string('index.html', '

Hello, world!

')); // Or create your stream from scratch. Gotenberg::libreOffice($apiUrl)