Plugin info

Total downloads: 24,427
Active installs: 100
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/18/2015 (3788 days ago)
Added to WordPress: 10/22/2009 (16 years old)
Minimum WordPress version: 2.7.1
Tested up to WordPress version: 4.3.0
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3788 days ago

20/100

Is Syntax Highlighter MT abandoned?

Possibly abandoned (last update 3788 days ago).

Compatibility

Requires WordPress: 2.7.1
Tested up to: 4.3.0
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Code Highlight
Rating 3.9/5 (14 reviews)Active installs 200
WP Editarea
Rating 3.0/5 (3 reviews)Active installs 100
Code Block – Embed Code with One-Click Copy Feature
Rating 0.0/5 (0 reviews)Active installs 100
AI Code Highlight
Rating 3.0/5 (2 reviews)Active installs 10
WP Code Pre
Rating 0.0/5 (0 reviews)Active installs 10
Code Highlighter Block – Syntax Highlighter Gutenberg Block
Rating 0.0/5 (0 reviews)Active installs 10

Description

This plugin works like many of the others that enable the use of the Syntax Highlighter tool. Dynamic plugin loading
is now available as part of the Syntax Highlighter tool, making brush configuration obsolete.

Available brushes are:
applescript
actionscript3 as3
bash shell
coldfusion cf
cpp c
c# c-sharp csharp
css
delphi pascal
diff patch pas
erl erlang
groovy
hive
java
jfx javafx
js jscript javascript
objc obj-c
perl pl
php
pig
text plain
py python
ruby rails ror rb
sass scss
scala
sql
vb vbnet
xml xhtml xslt html

Changing display themes

The display theme can be changed by navigating to Settings -> Syntax Highlighter MT. The themes available are:

  • Default
  • Django
  • Eclipse
  • Emacs
  • FadeToGrey
  • MDUltra
  • Midnight
  • RDark

Advanced Usage

Changing the appearance of code

There are many options that can be applied inline to control how your formatted code is displayed. These are appended to the class definition after the brush declaration.

auto-links

Enabled by default. Disabling this turns off link detection in the highlighted section, making URLs non-clickable.

String link = "http://www.megatome.com";

class-name

Use this to specify one or more classes that should be applied to the generated highlight element.

collapse

False by default. Forces the highlighted code to be collapsed by default.

first-line

1 by default. Change the starting line number for a section of highlighted code.

String link = "http://www.megatome.com";

gutter

Enabled by default. Turn the line numbers on and off.

String link = "http://www.megatome.com";

highlight

Specify one or more lines to be highlighted.

String link = "http://www.megatome.com";
System.out.println("Hello World");
System.out.println("Goodbye World");

toolbar

Enabled by default. Toggle the toolbar.

String link = "http://www.megatome.com";

title

Allows a title to be set for a block of code. This is not in the class, but in the

 or