mandolyte / mdtopdf

Markdown to PDF
MIT License
135 stars 33 forks source link

Allow for table lines width and color changes #16

Closed ernierasta closed 1 year ago

ernierasta commented 3 years ago

Hi! Just trivial change. By deleting this two lines we enable library user to change table lines color and width. It can be set like that:

pf := mdtopdf.NewPdfRenderer("", "A4", pdffile, "trace.log")
pf.Pdf.SetDrawColor(150, 150, 150)                                                                                                    
pf.Pdf.SetLineWidth(1)

Thank you for great library!