Github 存储库中 readme.md 的自定义 css 文件 [英] Custom css file for readme.md in a Github repo

查看:30
本文介绍了Github 存储库中 readme.md 的自定义 css 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法验证 .css 文件的名称,该文件将修改 Github 存储库根目录下的 readme.md 文件.

I am having trouble verifying the name of the .css file that will modifying the readme.md file at the root of Github repo.

我认为是:

.github/github.css

但这似乎对 Markdown 没有任何影响.有谁知道这是否不正确?

but that doesn't seem to do anything to the Markdown. Does anyone know if this is incorrect?

推荐答案

出于安全原因,GitHub 不允许 CSS 通过 CSS 影响 README.md 文件(就像您可以将 CSS 注入到ReadMe,您可以轻松发起网络钓鱼攻击).这包括通过 引用的样式表和与