-
Notifications
You must be signed in to change notification settings - Fork 274
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 properly set files changed as expanded by default #56
Comments
The problem here is that we did not wanted to use javascript to do this, so css was used. Maybe we should use class, still is not ideal. |
hey, nice to see progress on this and the other issues i reported! well, thing is, for it to be useful for me i'd need that to also be exposed via diff2html-cli, as that's all i (can) use. could you be a dear and add a switch for that? :-) |
@sreich just released a fix for the cli and also some more customization for the summary. If you install version 1.4.4 you should have:
Is it ok? |
I also added two hash tags to be able to override this with the url:
this will also override any previous decision. @sreich can I close this or do you have any other suggestion? |
yes this works perfectly and you covered all bases -- nice work! 👍 |
for instances where i'm more interested in the summary of files changed, i would like to have this expanded by default.
i thought i'd be able to do it by setting the url, given that gets changed, but it gets changed to something like 'diff.html#d2h-show-hfr' and 'diff.html#d2h-hide-pvi'
i'm confused as to what the '-hfr' and '-pvi' do, they are not static between generations, they seem random, so it isn't something i could add to my url that i give out
is it possible to easily get functionality like what i want?
The text was updated successfully, but these errors were encountered: