Syntax Highlighter MT
This plugin works like many of the others that enable the use of the Syntax Highlighter tool. Dynamic plugin loading
The facts
- Active installs
- 100+
- Price
- Free
- Last updated
- 18 Aug 2015
- Added
- Oct 2009
- Requires WP
- 2.7.1
- Tested up to
- WP 4.3.0
- Downloads
- 24,802
Our analysis
AI-assistedSyntax Highlighter MT is a WordPress plugin that enables syntax highlighting for code snippets on your site. It supports a variety of programming languages and allows users to change the display theme through the plugin settings. This plugin is suitable for developers or site owners who want to present code in a readable format on their WordPress sites.
The plugin offers dynamic loading of the Syntax Highlighter tool, eliminating the need for brush configuration. Users can choose from multiple themes and apply advanced options to customize the appearance of their code snippets.
Best for: This plugin suits developers and site owners who need to display code snippets clearly.
What it does well
- ✓Supports a wide range of programming languages
- ✓Dynamic plugin loading available
- ✓Multiple display themes to choose from
- ✓Advanced options for code appearance
Where it falls short
- •Last updated in August 2015
- •Tested only up to WordPress 4.3.0
- •Directory score of 38/100 indicates potential issues
Verdict
Syntax Highlighter MT provides essential features for code highlighting but may not be suitable for users requiring up-to-date support or compatibility with newer WordPress versions.
From the developer
iamthechad's own description of Syntax Highlighter MT, lightly tidied.
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.
<pre class="brush: java; auto-links: false">
String link = "http://www.megatome.com";
</pre>
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.