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

Long urls go out of PDF #45

Open
JStyle21 opened this issue Jul 2, 2022 · 2 comments
Open

Long urls go out of PDF #45

JStyle21 opened this issue Jul 2, 2022 · 2 comments
Labels

Comments

@JStyle21
Copy link

JStyle21 commented Jul 2, 2022

Hi,

I'm having the same issue as described here:
https://tex.stackexchange.com/questions/537851/wrapping-of-long-addresses-when-converting-markdown-to-pdf-via-pandoc

Any idea how to handle long url's ? i can't get it to fit into the page width of the PDF even tho the html+css has both max-width and wrap

@jmaupetit
Copy link
Owner

Just be 100% sure: have you tried the following CSS rule?

a {
  word-wrap: break-word;
}

@JStyle21
Copy link
Author

JStyle21 commented Jul 5, 2022

Yes, i'm sure.

Here is an example repo i made with my use case and result:
https://github.com/JStyle21/md2pdf_test

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

No branches or pull requests

2 participants