githubpages-从readme.md正确生成的jekyll模板失败



我有以下问题...我为项目创建了一个GitHub页面,因为我不是网页开发人员,并且在HTML或CSS中没有任何特殊技能,我通过模板生成了此页面,您可以从存储库设置中进行选择... p>现在,我有一个问题,即从模板中生成的jekyll页面与我的 readme.md 结合使用,不显示预览图像。在我的 readme.md 文件中,我用此标签指定了图像:

| ![Preview Image](https://github.com/0x1C1B/JContacts/blob/master/doc/img/preview.png) | 
|:--:| 
| *Preview image of application* |

但Jekyll仅显示图像的订阅,您可以在这里看到它。是否可以解决此错误,还是模板依赖问题?

编辑:这是生成的HTML代码:

<table>
    <thead>
        <tr>
            <th style="text-align: center"><img src="https://github.com/0x1C1B/JContacts/blob/master/doc/img/preview.png" alt="Preview Image" /></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td style="text-align: center"><em>Preview image of application</em></td>
        </tr>
    </tbody>
</table>

在github存储库中使用绝对净化的图像,将链接改为"原始"图像。

换句话说,使用以下URL:

https://github.com/0x1C1B/JContacts/raw/master/doc/img/preview.png

最新更新