mandolyte / mdtopdf

Markdown to PDF
MIT License
133 stars 32 forks source link

Allow for table lines width and color changes #16

Closed ernierasta closed 1 year ago

ernierasta commented 2 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!