
內容簡介
使用 Git Snippets 外掛,您可以從您的網站分享程式碼和文字片段給其他使用者。
若要嵌入專案片段,請先確認:
片段是公開的
在專案 > 設定 > 可見度、專案功能、權限中,片段權限設定為「所有人都能存取」
使用 [gitlab] 短碼,請在您的文章和頁面中使用片段的 ID 或 URL。
[gitlab id="2180458"]
[gitlab url="https://gitlab.com/aochoae/git-snippets/-/snippets/2180458"]
外掛標籤
開發者團隊
原文外掛簡介
With Git Snippets you can share code and text fragments with other users from your website.
To embed a project snippet, first make sure that:
The snippet is public
In Project > Settings > Visibility, project features, permissions, the snippets permissions are set to Everyone with access
Use [gitlab] shortcode by using the ID or URL of the snippet in your posts and pages.
[gitlab id="2180458"]
[gitlab url="https://gitlab.com/aochoae/git-snippets/-/snippets/2180458"]
