Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Smart Syntax

Automatic google prettify syntax highlighting for jetpack markdown fenced code blocks

Smart Syntax plugin automatically adds Google prettify syntax highlighting to the fenced code blocks in both content and comments.

It's made with Jetpack markdown in mind, which brings the power of markdown extra to WordPress and gives you an easy to use markdown syntax for fenced code blocks.

For more information on usage and features, check out smartpixels.

Author Smartpixels
Profile
Contributors smartpixels, arulpr
Tags Code Blocks, Google Prettify, Jetpack Markdown, markdown, syntax, syntax highlighter
  1. Install Smart Syntax either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate Smart Syntax through the 'Plugins' menu in WordPress.You will now see 'Smart Syntax' menu in admin sidebar.
  3. You can leave the default settings as it is or change according to your needs.
  4. Voila! Your code is now highlighted.
  • Initial release

  • 1.0.3 Altering google CDN for prettify to reflect the changes

I don't use Jetpack markdown?

Jetpack markdown is not a necessity. You can add syntax highlighting for fenced code blocks in the following format

<pre><code class=&quot;html&quot;> echo 'Hello World!'; </code></pre>

How do I contact you ?

Please use the support forum here.

Share  
Download
Version 1.0.2

Requires WordPress version: 3.8 or higher

Compatible up to: 4.6.3

Last Updated 27 Sep 2016

Date Added: 18 Jun 2014

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
3 ratings
1,695 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0