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

Failed to find a valid digest in the 'integrity' attribute for resource #209

Closed
Taunl opened this issue Sep 17, 2021 · 8 comments · Fixed by #215
Closed

Failed to find a valid digest in the 'integrity' attribute for resource #209

Taunl opened this issue Sep 17, 2021 · 8 comments · Fixed by #215
Labels
question Further information is requested

Comments

@Taunl
Copy link

Taunl commented Sep 17, 2021

when I open "Diagram Guide" page, it don't work.
image
but I don't change anything of the theme. it work in local site, don't work in web.
image

@razonyang
Copy link
Owner

I think this may be because of line ending.

Please execute the following commands and then republish your site.

$ git config --global core.autocrlf true
$ git add --renormalize .
$ git commit -m "Normalize all the line endings"

@razonyang razonyang added the question Further information is requested label Sep 22, 2021
@Taunl
Copy link
Author

Taunl commented Sep 23, 2021

I tried it but it didn't work then I tried follows :

$ git config --global core.autocrlf false
$ git add --renormalize .
$ git commit -m "Don't normalize all the line endings"

It works. NICE !!! Thank you very much!

The themes is really beautify, I absolutely like it. Because I don't need diagram function, it doesn’t affect my use.
I strongly recommend adding a black theme in light mode.
There is one issue about"Latex" of display. The formula is out of bounds when it is too long to display. I made it work by modifying the "custom.css".

.katex-html{
	overflow:auto; /*latex公式超出浮动*/
	--hbs-accent: gray; /*latex滚动条为灰色*/
}

da95108741be0f45199e75317969033
.

@razonyang
Copy link
Owner

@Taunl thanks for your feedback, could you please provide the formula above, so that I can reproduce the problem in local?

@Taunl
Copy link
Author

Taunl commented Sep 23, 2021

use follows:

$$
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
$$

you can get
image

@razonyang razonyang linked a pull request Sep 24, 2021 that will close this issue
@razonyang
Copy link
Owner

This issue has been fixed in the new UI, you might try it.

@imattdu
Copy link

imattdu commented Jan 19, 2022

我认为这可能是因为line ending

请执行以下命令,然后重新发布您的站点。

$ git config --global core.autocrlf true
$ git add --renormalize .
$ git commit -m "Normalize all the line endings"

我试了好像不行

@razonyang
Copy link
Owner

@imattdu 可以提供详细的环境信息吗?比如操作系统(如Windows,Linux,WSL)及其版本、Hugo 版本等信息,现在缺少足够的信息复现这个问题。

@imattdu
Copy link

imattdu commented Jan 20, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants