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等多个大型网站上使用,因为它快速,简单且轻巧。 p>
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 ++等… p>
Demo
演示 h3>
You can find a demo of the plugin on the plugin homepage:
您可以在插件主页上找到该插件的演示:
>Plugin Homepage
>插件首页 p>
Basic Usage
基本用法 h4>
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.
单击“确定”,就完成了。 p>