Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperlinks are not fully converted #26

Open
jirku opened this issue Jul 29, 2024 · 1 comment
Open

Hyperlinks are not fully converted #26

jirku opened this issue Jul 29, 2024 · 1 comment

Comments

@jirku
Copy link

jirku commented Jul 29, 2024

So when converting markdown to pdf like this """ze dne 2. 4. 2019. Dostupné z: <https://uohs.gov.cz/cs/verejne-zakazky/sbirky-rozhodnuti/detail-15999.html>""" the full link is shown and marked as hyperlink correctly but only the first line is taken as the link. The part on the second line is omitted.
image

@vb64
Copy link
Owner

vb64 commented Jul 30, 2024

The pdf contains your html link as text, not as a hyperlink.

As a hyperlink, it is recognized and interpreted by the app displaying the pdf file (browser, for example).
This app may not correctly handle the new line character into html link body.

If you absolutely need a clickable link in pdf format, you can use landscape orientation of the page.

pdf.add_section(Section("ze dne 2. 4. 2019. Dostupn├й z: <https://uohs.gov.cz/cs/verejne-zakazky/sbirky-rozhodnuti/detail-15999.html>", paper_size="A4-L"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants