WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by FractalizeR v2.4.3

WP-SynHighlight

Plugin provides syntax highlighting for about 116 programming languages via Geshi.

WP-SynHighlight

The facts

Rating
4.6★ from 5
Active installs
100+
Price
Free
Last updated
11 Jan 2016
Added
Dec 2008
Requires WP
2.8
Tested up to
WP 4.4.34
Downloads
33,341

Our analysis

AI-assisted

WP-SynHighlight is a WordPress plugin designed to provide syntax highlighting for code snippets in posts and comments. It features a graphical user interface (GUI) that allows you to highlight code without switching to code mode, making it user-friendly for those who may not be familiar with coding. The plugin includes options for customising the appearance of code highlighting across your blog and supports various syntax highlighting options through the Geshi library.

This plugin is suitable for bloggers and content creators who frequently include code snippets in their posts and want an easy way to format them for better readability. It is particularly useful for those who prefer a visual editing experience over manual coding.

Best for: Content creators and bloggers who need to include formatted code snippets in their posts.

What it does well

  • Provides syntax highlighting in posts and comments
  • Full GUI mode for easy use without coding
  • Customisable blog-wide default settings for code highlighting
  • Supports many options from the Geshi library
  • Real-time syntax highlighting in the GUI editor

Where it falls short

  • Last updated in January 2016, may not be compatible with newer WordPress versions
  • Limited user ratings and active installs
  • Directory score of 46/100 indicates potential issues

Verdict

WP-SynHighlight offers a straightforward solution for syntax highlighting, but its outdated status and limited user base may be concerns for some users.

From the developer

FractalizeR's own description of WP-SynHighlight, lightly tidied.

Plugin provides syntax highlighting in posts and comments.

  • Full GUI mode. No need to switch to code mode and back like in some other plugins
  • GUI editor with realtime syntax highligting support integrated (can be disable in settings)
  • GUI button to help with highlighting options. No need to memorize them!
  • Blog-wide default settings for code highlighting. Now you can change the look of all your posts at once!
  • Many options to customize code highlighting (almost full Geshi set)

If you like this plugin, you can make a donation with WebMoney (R704473788938, R704473788938), Yandex.Money (41001122895969), MoneyBookers (FractalizeR@yandex.ru)

Usage

Just select all your source code in the editor and use editor button (preferred method) or surround your code directly in WYSIWYG editor with a [codesyntax] [/codesyntax] tag like this

[codesyntax lang=”php”]

<?php 
//Replacing tags
$find [] = '/<br\s*\\?>/i';
$replace [] = "\r\n";
$content = preg_replace($find, $replace, $content);
?>

[/codesyntax]

[filesyntax filename=”test.phps” lang=”php”]

The tag in the last example should be enabled in settings. See it’s description below also.

and you will get wonderful geshi formatting. Format all your source code with Preformatted style to preserve spaces.

If you need to change settings of already formatted block – select it all and press GUI editor button again. Plugin will recognize all settings you used.

Plugin recognizes several popular geshi options to render highlighting:

filename

The relative filename of the file inside a folder, allowed for [filesyntax] tag to take the source for highlighting from. Works only in [filesyntax] tag

lang

Read the full description on the official page →

Tagged as