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

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Lite Syntax Highlighting

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

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

 * [Detaljer](https://da.wordpress.org/plugins/lite-syntax-highlighting/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/lite-syntax-highlighting/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/lite-syntax-highlighting/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/lite-syntax-highlighting/#developers)

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

## Beskrivelse

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:

 * Engelsk
 * Русский

Styles:

 * Lyst
 * Mørk

## Skærmbilleder

[⌊Example for PHP code⌉⌊Example for PHP code⌉[

Example for PHP code

[⌊Indstillinger side⌉⌊Indstillinger side⌉[

Indstillinger side

[⌊Editor⌉⌊Editor⌉[

Editor

[⌊Mørk style⌉⌊Mørk style⌉[

Mørk 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

## Anmeldelser

![](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/) 27. december, 2016 1 svar

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/) 3. september, 
2016 1 svar

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.

 [ Læs alle 2 anmeldelser ](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/)

## Bidragsydere & udviklere

“Lite Syntax Highlighting” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

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

“Lite Syntax Highlighting” er blevet oversat til 2 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting/contributors)
for deres bidrag.

[Oversæt “Lite Syntax Highlighting” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/lite-syntax-highlighting/),
tjek [SVN repository](https://plugins.svn.wordpress.org/lite-syntax-highlighting/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/lite-syntax-highlighting/)
via [RSS](https://plugins.trac.wordpress.org/log/lite-syntax-highlighting/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0 eller højere **
 *  Testet op til **5.1.22**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/lite-syntax-highlighting/), [Japanese](https://ja.wordpress.org/plugins/lite-syntax-highlighting/)
   og [Russian](https://ru.wordpress.org/plugins/lite-syntax-highlighting/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/lite-syntax-highlighting)
 * Tags
 * [code highlighter](https://da.wordpress.org/plugins/tags/code-highlighter/)[highlighter](https://da.wordpress.org/plugins/tags/highlighter/)
   [highlighting](https://da.wordpress.org/plugins/tags/highlighting/)[syntax](https://da.wordpress.org/plugins/tags/syntax/)
   [syntax highlighter](https://da.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/lite-syntax-highlighting/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/lite-syntax-highlighting/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://blweb.ru)