php-htmldiff
php-htmldiff copied to clipboard
Documentation for HTML tags and CSS classes
Is there any reference for the generated HTML tags (<ins>, <del>) and CSS classes (.diffmod, .diffins, etc)?
@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.
I dug through the source and found all the classes:
diffinsdiffdeldiffmod
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 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.
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.