Title: Lite Syntax Highlighting
Author: z-17
Published: <strong>January 4, 2016</strong>
Last modified: March 24, 2019

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/lite-syntax-highlighting.svg)

# Lite Syntax Highlighting

 By [z-17](https://profiles.wordpress.org/z-17/)

[Download](https://downloads.wordpress.org/plugin/lite-syntax-highlighting.0.5.zip)

 * [Details](https://twd.wordpress.org/plugins/lite-syntax-highlighting/#description)
 * [Reviews](https://twd.wordpress.org/plugins/lite-syntax-highlighting/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/lite-syntax-highlighting/#installation)
 * [Development](https://twd.wordpress.org/plugins/lite-syntax-highlighting/#developers)

 [Support](https://wordpress.org/support/plugin/lite-syntax-highlighting/)

## Description

The Plugin makes it easy to add syntax highlighting of code in your blog. You can
use shortcodes in posts and comments and also html tags everywhere.

It adds some buttons to editor, which generate special short code tags to turn on
syntax highlighting: [slh lang=”php”] for example. And you can use html tags, example:
<pre class=”slh__html”></pre>

The plugin supports highlighting:

 * PHP
 * HTML
 * CSS
 * JavaScript
 * C

Languages:

 * English
 * Русский

Styles:

 * Light
 * Dark

## Screenshots

 * [[
 * Example for PHP code
 * [[
 * Settings page
 * [[
 * Editor
 * [[
 * Dark style

## Installation

 1. Upload the plugin files to the “/wp-content/plugins/” directory or install the 
    plugin through the WordPress plugins screen directly..
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Use the Settings -> Syntax Highlighting screen to configure the plugin

## FAQ

  What code is highlighted?

PHP, HTML, CSS, JavaScript and C

  How can I help?

There are public repository: https://github.com/z17/Lite-Syntax-Highlighting
 Welcome!

  How can I use it?

You can use special buttons in WordPress post editor, or use shortcodes like [slh
lang=”php”] to create block of code.
 Also you can just write html tags <pre class
=”slh__php”> CODE </pre> where you want.

  How can I ask something?

Open new topic in support section or you can write me email, admin@blweb.ru

## Reviews

![](https://secure.gravatar.com/avatar/54ff0e970e647a4797b624b3aad0aa43f73bee6d067f0d49ac1e0fce0d398c3f?
s=60&d=retro&r=g)

### 󠀁[easy and light !](https://wordpress.org/support/topic/easy-and-light-3/)󠁿

 [May](https://profiles.wordpress.org/mokoan/) December 27, 2016 1 reply

Very easy to use. Thank you 🙂

![](https://secure.gravatar.com/avatar/bc8fd8412ca0576548585c5ccd75592b1a862470474ee84a23e48c8b495bea9e?
s=60&d=retro&r=g)

### 󠀁[Good and easy to use.](https://wordpress.org/support/topic/good-and-easy-to-use-17/)󠁿

 [Jatupon Rattanapanop](https://profiles.wordpress.org/emilybkk/) September 3, 2016
1 reply

It is so simple and as my site don’t need a ton of feature I only post css and php
little bit. This plugin just fit my need. Thank you so much.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/)

## Contributors & Developers

“Lite Syntax Highlighting” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ z-17 ](https://profiles.wordpress.org/z-17/)

“Lite Syntax Highlighting” has been translated into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting/contributors)
for their contributions.

[Translate “Lite Syntax Highlighting” into your language.](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lite-syntax-highlighting/),
check out the [SVN repository](https://plugins.svn.wordpress.org/lite-syntax-highlighting/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lite-syntax-highlighting/)
by [RSS](https://plugins.trac.wordpress.org/log/lite-syntax-highlighting/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.5

 * add support short codes
 * short codes also work in comments

#### 0.4

 * add basic highlight for C language
 * some refactor

#### 0.3

 * add dark style

#### 0.2

 * Add languages support

#### 0.1

 * Initial release.

## Meta

 *  Version **0.5**
 *  Last updated **7 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **5.1.22**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/lite-syntax-highlighting/), [Japanese](https://ja.wordpress.org/plugins/lite-syntax-highlighting/),
   and [Russian](https://ru.wordpress.org/plugins/lite-syntax-highlighting/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)
 * Tags
 * [code highlighter](https://twd.wordpress.org/plugins/tags/code-highlighter/)[highlighter](https://twd.wordpress.org/plugins/tags/highlighter/)
   [highlighting](https://twd.wordpress.org/plugins/tags/highlighting/)[syntax](https://twd.wordpress.org/plugins/tags/syntax/)
   [syntax highlighter](https://twd.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [Advanced View](https://twd.wordpress.org/plugins/lite-syntax-highlighting/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/)

## Contributors

 *   [ z-17 ](https://profiles.wordpress.org/z-17/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lite-syntax-highlighting/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://blweb.ru)