[wordpress插件] Code Repository代码库

wordpress 插件 文章 2020-03-26 16:20 533 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Allows users to save scripts and code snippets, using built in WordPress post revisioning.

允许用户使用内置的WordPress帖子修订来保存脚本和代码段。

Scripts will be shown on yourblog.com/code.

脚本将显示在yourblog.com/code上。

Using curl on a script url

在脚本网址上使用curl

curl -sS yourblog.com/code/scriptname/

curl -sS yourblog.com/code/scriptname /

will return an unformatted version of the code, suitable for shell sourcing.

将返回未格式化的代码版本,适用于shell采购。

安装步骤

    1. Upload code-repo.zip using the plugin install menu in WordPress
    2. 使用WordPress中的插件安装菜单上传code-repo.zip

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/code-repository.zip
-EOF-

AI助手支持GPT4.0