-
Notifications
You must be signed in to change notification settings - Fork 135
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
pdf cut off long code in code block #26
Comments
Thanks for your feedback, could you reproduce this bug and tell me the browser details? |
Also interested in seeing this changed. If I can get it working locally I will submit a PR. I unfortunately need to submit an assignment as a PDF which includes a hand-written regular expression that is 541 characters long. I definitely need code blocks to wrap or it will get cut out. |
So by changing the rule in github-markdown.css line 706 from I would make a pull request to add a simple checkbox to the left of the "Choose" button to toggle wrapping code blocks, but I couldn't get it to start locally with just an
I don't have enough experience with react applications to figure out how to fix it, so I'm just going to apply the style in the devtools to export my current assignment. It does work correctly, even after exporting to PDF. Before: After: These are both screenshots of my PDF reader, after export. |
Hey there, I can reproduce @nilesr post, Reproduction:
OS: Arch Linux 5.4.58-1-lts I updated the version of In the end, I solved it by:
Greetings |
There's a quick hot fix to workaround this issue when develop change here
- import createEventTargetHook from 'create-event-target-hook';
+ import createEventTargetHook from 'create-event-target-hook/dist/index.js'; Not really sure why it uses emodule when develop, it's supposed to run build before, you can just workaround or check if there's a outdated It works on node v10. |
Please don't add an option, just fix it with a good default instead. |
No description provided.
The text was updated successfully, but these errors were encountered: