该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“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.