pdf file generated using python pdfkit has no clickable links?
Asked Answered
L

1

8

The html file looks like

        <div class="contact">
            Phone: +00-0000000<br/>
            E-mail: <a href="mailto:[email protected]" >[email protected]</a>
            Github: <a href="https://www.github.com/zsameem">www.github.com/zsameem</a>
        </div>  
    </div>  

code for gennerating pdf is simply:

import pdfkit
pdfkit.from_file('mypage.html', 'mypdf.pdf;')
Leeland answered 17/7, 2015 at 18:46 Comment(0)
F
0

Did you install wkhtmltopdf as described in the installing instructions? https://pypi.python.org/pypi/pdfkit

That seems to be a point that is often missed when using pdfkit.

Fairtrade answered 25/2, 2018 at 5:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.