如何使用znai将现有示例嵌入我的降价文档中
我记录了我的API的用法,并想参考GitHub存储库中的其他人。
如何使用ZNAi将文件的内容包括在我的文档中?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我记录了我的API的用法,并想参考GitHub存储库中的其他人。
如何使用ZNAi将文件的内容包括在我的文档中?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
在 znai 您可以在
lookup-paths
文件中指定查找位置。受支持的位置之一是http位置,例如在此示例中: https:/https:/ /testingisdocumenting.org/znai/flow/lookup-paths#http-lookup-location例如,
在
lookup-paths
lookup paths
lookup paths已设置,使用 include include-file plugin 插件和嵌入式文件内容从仓库
或使用其他插件,例如包括groovy 提取特定方法的身体
In Znai you can specify lookup locations inside
lookup-paths
file. One of the supported locations is HTTP location like in this example: https://testingisdocumenting.org/znai/flow/lookup-paths#http-lookup-locationFor example, to include a content from a repo I have following entry in my lookup-paths file
Once
lookup-paths
is set, use include-file plugin and embedded a file content from the repoOr use other plugins like include-groovy to extract a specific method body