Re: [go-nuts] Convert html text to pdf using go language .

2024-04-09 Thread 'Mihai' via golang-nuts
Use princexml command line using https://pkg.go.dev/os/exec . There is no native Go package to render html into pdf. The issue is very complicated because both HTML and CSS (and potentially JS) are complex markup language and as no browser was ever written in Go nobody will write HTML and CSS

Re: [go-nuts] Convert html text to pdf using go language .

2024-04-06 Thread KRITIKA AWASTHI
Thanks for suggestion but i want a package for go language . weasyprint is for python. On Friday, April 5, 2024 at 9:54:32 PM UTC+5:30 Harmen wrote: > On Fri, Apr 05, 2024 at 06:45:03AM -0700, KRITIKA AWASTHI wrote: > > I want to convert html text to pdf using go language . > > Previously, I

Re: [go-nuts] Convert html text to pdf using go language .

2024-04-05 Thread Harmen
On Fri, Apr 05, 2024 at 06:45:03AM -0700, KRITIKA AWASTHI wrote: > I want to convert html text to pdf using go language . > Previously, I used chromedp > to create PDFs, but it > was consuming too much server capacity. So, currently I am using

[go-nuts] Convert html text to pdf using go language .

2024-04-05 Thread KRITIKA AWASTHI
I want to convert html text to pdf using go language . Previously, I used chromedp to create PDFs, but it was consuming too much server capacity. So, currently I am using using wkhtmltopdf package