Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试将 .md 文件从 github 上的 repo 导入我的本地 gitbook。
我想在我的 Summary.md 文件中做这样的事情:
# Summary * [Introduction](README.md) * [button-color](https://github.com/blah/button-color/blob/master/README.md)
在这种情况下,它只是一个链接。
如何导入文件?
我用谷歌搜索但找不到任何答案。
这甚至可能吗?
帮助将不胜感激。
我发现了如何做到这一点。
我创建了一个BUTTON-COLOR.md文件。
BUTTON-COLOR.md
在文件中我需要这一行:
{% include "git+https://github.com/blah/button-color.git/README.md" %}
在SUMMARY.md我刚刚添加了对BUTTON-COLOR.md:
SUMMARY.md
# Summary * [Introduction](README.md) * [button-color](BUTTON-COLOR.md)