[wordpress插件] Compilebin编译器

wordpress 插件 文章 2020-03-26 14:20 418 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This is a syntax highlighter plugin which also acts as an interface to the online compiler api service on cloud provided by https://www.compilebin.com.

这是一个语法突出显示插件,也可以用作https://www.compilebin.com提供的云上在线编译器api服务的接口。

It interacts with cloud service via rest APIs i.e, submit the code and get the output.

它通过其他API与云服务进行交互,即提交代码并获取输出。

Users need to signup and get an api key which is to be updated in the plugin to use the service.

用户需要注册并获得一个api密钥,该密钥将在插件中更新以使用该服务。

Plugin contains a link for signing up for the service.

插件包含用于注册服务的链接。

There is no security concern on the web server as the task of code execution is offloaded to the cloud service.

由于将代码执行任务卸载到云服务,因此Web服务器上没有安全问题。

The plugin uses the following open source libraries :

该插件使用以下开放源代码库:

1) Code prettify for syntax highlighting

1)代码美化语法突出显示

2) Ace code editor

2)Ace代码编辑器

Please visit https://www.compilebin.com for more information about the service.

请访问https://www.compilebin.com以获取有关该服务的更多信息。

Note that this plugin can also be used purely as a syntax highlighter only by hiding the run button on your code snippets.

请注意,仅通过隐藏代码段上的运行按钮,此插件也可以纯粹用作语法突出显示工具。

This mode of usage is free of any charges.

这种使用方式不收取任何费用。

Run button will not be visible on public view.

运行按钮在公众视野中不可见。

Please report issues to support@compilebin.com

请将问题报告给support@compilebin.com

This plugin is actively maintained and we will fix the reported issues as soon as possible.

该插件正在积极维护中,我们将尽快修复已报告的问题。

安装步骤

    1. Upload the plugin to the ‘/wp-content/plugins/’ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件上传到“ / wp-content / plugins /”目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress.
    4. 通过WordPress中的“插件”屏幕激活插件。

    5. Use ‘Insert code’ button to launch code editor and signup on https://www.compilebin.com to get your API key.
    6. 使用“插入代码”按钮启动代码编辑器,并在https://www.compilebin.com上注册以获取您的API密钥。

    7. You don’t need any key in case you are using only syntax highlighting feature and do not want users to execute code on your website.
    8. 如果仅使用语法突出显示功能并且不希望用户在您的网站上执行代码,则不需要任何键。

下载地址
https://downloads.wordpress.org/plugin/code-editor-and-compiler.1.4.1.zip
-EOF-

AI助手支持GPT4.0