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

how to make diff2html display line breaks for line-by-line view ?? #524

Closed
yockey1 opened this issue Jan 31, 2024 · 1 comment
Closed

how to make diff2html display line breaks for line-by-line view ?? #524

yockey1 opened this issue Jan 31, 2024 · 1 comment

Comments

@yockey1
Copy link

yockey1 commented Jan 31, 2024

Issue Description

I am trying to configure diff2html to display the diff in line breaks for line-by-line view. I have referred to issues #99 and #97, but I am still unable to achieve the desired functionality. I am aware that there are ongoing efforts to make it work for side-by-side view as mentioned in #99.

I have also noticed similar queries from other users but couldn't find a clear solution. I have checked the comments on #97 (comment link) and #99 (comment link).

Current Environment and Status

  • diff2html version: 3.4.45
  • Using diff2html directly

Any guidance on how to make diff2html display line breaks for line-by-line view would be greatly appreciated.

Thank you!

@rtfpessoa
Copy link
Owner

Like the other threads it is not a simple problem to solve.
It would require some css mixed with some configuration to allow maybe swapping classes to make current style and break style work.
Honestly I don't think we need another thread as we have others.
If you find how to make it work let me know.

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