The code highlighter used in this blog is SyntaxHighlighter Plus. It’s quite easy to set it up. (1) download and unzip to wp-content/plugins (2) activate it.
Note: css style for SyntaxHighlighter is shlfiles/SyntaxHighlighter.css under this plug-in’s folder. I find it hard-code the width to be 530. I change it to 500.
Supported language includes
* Bash — bash, sh
* C++ — cpp, c, c++
* C# — c#, c-sharp, csharp
* CSS — css
* Delphi — delphi, pascal
* Java — java
* JavaScript — js, jscript, javascript
* PHP — php
* Python — py, python
* Ruby — rb, ruby, rails, ror
* SQL — sql
* VB — vb, vb.net
* XML/HTML — xml, html, xhtml, xslt
To use it, simply type [code=’css’]code here[/code] in the content.
Receive email notification via email 博客有新内容通知我
Don't want to miss new papers in your field? Check out Stork we developed: ![]() |
专注医学生物类的论文润色 联系他们请用优惠码 STORK4,他们会给你折扣。 |