benoitkugler / go-weasyprint

(WIP) Golang port to weasyprint python html to pdf library
https://pkg.go.dev/github.com/benoitkugler/go-weasyprint
BSD 3-Clause "New" or "Revised" License
23 stars 1 forks source link

docs and instructions would be helpful #4

Open PylotLight opened 2 months ago

PylotLight commented 2 months ago

I've been looking around for a WeasyPrint replacement and this wrapper seems ideal if I can figure out how to get it to work? There's a ton of pdf creators out there in go but a 1:1 from python would be ideal for my use case, also most of them don't support html - pdf.

benoitkugler commented 2 months ago

Hi,

I think you have eventually found the documentation of the top level HtmlToPdf entry point. Do you have more specific questions regarding its usage ?

Besides, I've added links to the documentation, thank you for pointing that.

benoitkugler commented 2 months ago

Also, out of curiosity, may I ask why are you looking for a Weasyprint replacement ?

PylotLight commented 2 months ago

Hi,

I think you have eventually found the documentation of the top level HtmlToPdf entry point. Do you have more specific questions regarding its usage ?

Besides, I've added links to the documentation, thank you for pointing that.

nope, just copied main_test.go as best as I could..

PylotLight commented 2 months ago

Also, out of curiosity, may I ask why are you looking for a Weasyprint replacement ?

rewriting one of my python scripts/pipelines at work in golang.