[wordpress插件] AH Code HighlighterAH代码荧光笔

wordpress 插件 文章 2020-02-12 09:40 594 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Really simple to use and extrem lightweigt Code Highlighting with 8 different code highlighting themes.

使用和简化lightweigt代码突出显示具有8个不同的代码突出显示主题。

You can highlight your code with or without line numbers.

您可以使用或不使用行号突出显示代码。

It is based on Lea Verou’s Prism.js.

它基于Lea Verou的 Prism.js

Prism is used on several big websites like the Smashing Magazine, A list Apart, CSS Tricks, SitePoint and Drupal, because it is fast, simple and lightweight.

Prism已在Smashing Magazine,Alist Apart,CSS Tricks,SitePoint和Drupal等多个大型网站上使用,因为它快速,简单且轻巧。

AH Code Highlighter supports PHP, HTML, CSS, JavaScript, Apache, HTTP, Sess, Lass, Markdown, Nginx, MySql, Xml, Mathml, JSON, Git, C, C# und C++ and more…

AH Code Highlighter支持PHP,HTML,CSS,JavaScript,Apache,HTTP,Sess,Lass,Markdown,Nginx,MySql,Xml,Mathml,JSON,Git,C,C#和C ++等…

Demo

演示

You can find a demo of the plugin on the plugin homepage:

您可以在插件主页上找到该插件的演示:

>Plugin Homepage

>插件首页

Basic Usage

基本用法

Install and activate the plugin.

安装并激活插件。

Select your favorite Highlight Theme on the Options page (Settings => AH Code Highlighter).

在“选项”页面上选择您喜欢的突出显示主题(设置=> AH代码突出显示)。

When you write a new post, click on the Code button, choose the code language and insert your code.

当您撰写新帖子时,单击“代码”按钮,选择代码语言并插入您的代码。

Click OK and you’re done.

单击“确定”,就完成了。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/ah-prism-syntax-highlighter/ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / ah-prism-syntax-highlighter / 目录,或直接通过WordPress插件屏幕安装插件。

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

    5. Ready to use!
    6. 随时可用!

下载地址

https://downloads.wordpress.org/plugin/ah-prism-syntax-highlighter.2.0.5.zip

https://downloads.wordpress.org/plugin/ah-prism-syntax-highlighter.2.0.5.zip

-EOF-

AI助手支持GPT4.0