我想添加一个在搜索 Github 主题时显示的图像横幅(因为 repo 很突出)。
目前,我正在 readme.md 文件的顶部添加图像,但它不起作用。
<h1 align="center">
<img src="image-url-here" />
</h1>
# rest of readme ..
Run Code Online (Sandbox Code Playgroud)
我该怎么做?
那是您的存储库设置下的“社交预览”。
README.md 是用Markdown编写的。然后将其翻译成 HTML。该md
是“降价”。
你的 HTML 会这样写:
# [description of the image](image-url-here)
Run Code Online (Sandbox Code Playgroud)
#
指示第一层标题并且
是到带有“图像描述”alt 的图像的链接。
更多帮助可以在Writing On GitHub 中找到。
归档时间: |
|
查看次数: |
1461 次 |
最近记录: |