将图像嵌入到GitHub wiki(gollum)存储库中? [英] Embedding images inside a GitHub wiki (gollum) repository?

查看:679
本文介绍了将图像嵌入到GitHub wiki(gollum)存储库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Github wikis由独立的git存储库和主项目存储库支持。



这篇文章由Github团队让它听起来像你应该可以链接到Wiki标签中的wiki库中存储的图像。 p>


图像和文件夹



现在可以引用图像托管在Git存储库内。


我已经签出了我的维基的存储库,并将资源文件夹和图像推入它。我的问题是,如何使用此图片



这是否可能或者我误解了某些东西?

解决方案

要使用相对路径,请执行以下操作:

  [[foo.jpg]] 
pre>

有关更多信息,请参阅演示维基的图片页面


The Github wikis are backed by a separate git repository then the main project repository.

This post by the Github team makes it sound like you should be able to link to images stored in the wiki repository inside the wiki markup.

Images and Folders

You can now reference images hosted inside the Git repository.

I've checked out my wiki's repository and pushed a resource folder and an image into it. My question is, how do I go about using this image?

Is this even possible or have I misunderstood something?

解决方案

To use relative paths do:

[[foo.jpg]]

For more info, see the demo wiki's page on images.

这篇关于将图像嵌入到GitHub wiki(gollum)存储库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆