這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Git Snippets

描述

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"]

安裝

Minimum Requirements

  • WordPress 4.9 or greater
  • PHP 7.1 or greater

Manual installation

  1. Navigate to Plugins > Add New.
  2. Click the Upload Plugin button at the top of the screen.
  3. Select the zip file from your local filesystem.
  4. Click the Install Now button.
  5. Click the Activate Plugin button at the bottom of the page.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Git Snippets” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Git Snippets 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.0.0 (September 25, 2021)

  • GitLab 14.1 (Tested)
  • Code cleanup

1.0.0 (August 28, 2019)

  • Initial release.