php-htmldiff icon indicating copy to clipboard operation
php-htmldiff copied to clipboard

Documentation for HTML tags and CSS classes

Open maliayas opened this issue 9 years ago • 4 comments

Is there any reference for the generated HTML tags (<ins>, <del>) and CSS classes (.diffmod, .diffins, etc)?

maliayas avatar Feb 21 '16 21:02 maliayas

@maliayas I just started working on updating the documentation this past weekend - going in small chunks but I plan to cover this next, now that I have basic documentation of usage/ configuration done.

jschroed91 avatar Mar 14 '16 17:03 jschroed91

I dug through the source and found all the classes:

  • diffins
  • diffdel
  • diffmod

Additionally, if the href changes on a link, the classes diffa and diffhref will be added. Similarly, diffimg and diffsrc will be added on images whose source changes.

cookieguru avatar Dec 15 '18 03:12 cookieguru

@cookieguru That's awesome, thank you! We should get this added to the README. Please feel free to open a PR with the update if you'd like! Otherwise if I have some time this weekend I'll get it added.

jschroed91 avatar Dec 15 '18 04:12 jschroed91

I spoke too soon. Those are just the tip of the iceberg. Need to dig in to this some more before I throw a PR your way.

cookieguru avatar Dec 18 '18 02:12 cookieguru