gpt4 book ai didi

github - 我可以在Gist之外的网页上嵌入来自GitHub的源文件吗?

转载 作者:行者123 更新时间:2023-12-03 22:32:35 27 4
gpt4 key购买 nike

语境
您可以在GitHub上创建Gist并将其嵌入到网页中:embedding Gists
这是随机选择的Gist的示例: tap.groovy

是否还可以嵌入GitHub中的其他代码文件,例如使用此随机选择的C#文件 ICommand.cs (不是Gist)嵌入?

最佳答案

您可以使用https://gist-it.appspot.com/:

<script src="http://gist-it.appspot.com/https://github.com/dotnet/corefx/blob/master/src/System.ObjectModel/src/System/Windows/Input/ICommand.cs"></script>

关于github - 我可以在Gist之外的网页上嵌入来自GitHub的源文件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37206157/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com