-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Indicate wrapped lines #75
base: master
Are you sure you want to change the base?
Conversation
The code is missing comments — I'll add them if you want to merge. |
f19daa6
to
74ef450
Compare
I like the idea! I did some quick testing: I needed to remove the
The grey is on the left, because that's where the "virtual" line starts, then fades to the right into the background. btw. the |
I'd like to get these changes figured out soon, since I just fixed a major parsing bug and I'd like to push out a new release...want to make sure the CSS issues are fixed first. |
@jgm fairly certain you can also ship the release without this pull request. This just adds a new feature (line-wrapping) when printing the HTML doc. |
Yes, I'll make the changes. But I agree with @mb21 — better not to rush this? |
David Baynard <[email protected]> writes:
Yes, I'll make the changes. But I agree with @mb21 — better not to rush this?
Thanks: I already released my changes, so there's no longer
any urgency on this.
|
I've added some css that introduces a discreet, linear gradient where lines wrap (in print css, only). The second commit restricts it to the case without line numbers, only. The image shows an example.
I tried to use a continuation character (with an svg background image), but it gets quite complicated to repeat the character without it appearing on the first line, too.
I'm not entirely convinced with the appearance, but the principle seems to work — and for print css it at least indicates line wrapping.