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

Documentation for HTML tags and CSS classes #29

Open
maliayas opened this issue Feb 21, 2016 · 4 comments
Open

Documentation for HTML tags and CSS classes #29

maliayas opened this issue Feb 21, 2016 · 4 comments

Comments

@maliayas
Copy link

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

@jschroed91
Copy link
Member

@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 jschroed91 added this to the v0.1.1 milestone Mar 14, 2016
@jschroed91 jschroed91 self-assigned this Mar 14, 2016
@jschroed91 jschroed91 removed this from the v0.1.1 milestone Mar 16, 2016
@jschroed91 jschroed91 removed their assignment Aug 26, 2016
@cookieguru
Copy link

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.

@jschroed91
Copy link
Member

@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.

@cookieguru
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants