Closed Taunl closed 3 years ago
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"
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"
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滚动条为灰色*/
}
.
@Taunl thanks for your feedback, could you please provide the formula above, so that I can reproduce the problem in local?
use follows:
$$
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
$$
you can get
This issue has been fixed in the new UI, you might try it.
我认为这可能是因为line ending。
请执行以下命令,然后重新发布您的站点。
$ git config --global core.autocrlf true $ git add --renormalize . $ git commit -m "Normalize all the line endings"
我试了好像不行
@imattdu 可以提供详细的环境信息吗?比如操作系统(如Windows,Linux,WSL)及其版本、Hugo 版本等信息,现在缺少足够的信息复现这个问题。
git config --global core.autocrlf true使用这个就可以解决感谢了
------------------ 原始邮件 ------------------ 发件人: "Razon @.>; 发送时间: 2022年1月20日(星期四) 中午11:02 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [razonyang/hugo-theme-bootstrap] Failed to find a valid digest in the 'integrity' attribute for resource (#209)
@imattdu 可以提供详细的环境信息吗?比如操作系统(如Windows,Linux,WSL)及其版本、Hugo 版本等信息,现在缺少足够的信息复现这个问题。
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>
when I open "Diagram Guide" page, it don't work. but I don't change anything of the theme. it work in local site, don't work in web.