Title: Simple Syntax Highlighting
Author: gung
Published: <strong>20 de gener de 2018</strong>
Last modified: 25 de maig de 2018

---

Cerca extensions

![](https://ps.w.org/simple-syntax-highlighting/assets/banner-772x250.png?rev=1806271)

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/simple-syntax-highlighting/assets/icon-128x128.png?rev=1806247)

# Simple Syntax Highlighting

 Per [gung](https://profiles.wordpress.org/gung/)

[Baixa](https://downloads.wordpress.org/plugin/simple-syntax-highlighting.zip)

 * [Detalls](https://ca.wordpress.org/plugins/simple-syntax-highlighting/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/simple-syntax-highlighting/#reviews)
 * [Desenvolupament](https://ca.wordpress.org/plugins/simple-syntax-highlighting/#developers)

 [Suport](https://wordpress.org/support/plugin/simple-syntax-highlighting/)

## Descripció

Simple Syntax Highlighting (SSH), simple, clean and lighweight plugin to integrate
highlight.js into WordPress. highlightjs has automatic language detection an turn
on syntax highlighting. You just need to select text than press button <ssh> or 
add the code into <pre> <code> </ code> </ pre> format.
 Credit: Highlight.js – 
https://highlightjs.org Line numbering plugin: https://github.com/wcoder/highlightjs-
line-numbers.js

Supports highlighting

 * Java
 * C
 * HTML
 * CSS
 * PHP
 * and more, up to 176 language, see: https://highlightjs.org/static/demo/

### Instalation

 1. Download plugin Simple Syntax Highlighting archive, than unzip it.
 2. Upload the «simple-sintax-highlighting» folder to the «wp-content/plugins» directory.
 3. Activate the plugin through «plugins» menu in WordPress dashboard.
 4. Open menu: Setting > Simple Syntax Highlighting to configure.

### Screenshoot

 1. Plugin Settings
 2. Editor

## Captures

[[

[[

## PMF

Q: How to use Simple Syntax Highlighting plugin? A: Paste yout code inside <pre>
<code> </ code> </ pre> or please see screenshot.

## Ressenyes

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

### 󠀁[Doesn’t Work with TinyMCE Advanced](https://wordpress.org/support/topic/doesnt-work-with-tinymce-advanced/)󠁿

 [hisw0509](https://profiles.wordpress.org/hisw0509/) 7 de febrer de 2018 1 resposta

<ssh> button works well on the default editor and I like it. However, when I activate
TinyMCE Advanced, one of the most popular WP plugins, <ssh> button doesn't work 
as intended. It inserts tags in between every line. Until this is solved, I can't
use this plugin because there are many code highlighting plugins with more functions
that works on text editing mode. I wanted to give this a shot because no other competitor
supports visual editing mode. I checked "Notify me of follow-up replies via email"
so that you can let me know when this plugin is compatible with TinyMCE Advanced,
or if the change is not possible on your side but on TinyMCE Advanced's.

 [ Llegiu tota la 1 ressenya ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/)

## Col·laboradors i desenvolupadors

«Simple Syntax Highlighting» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ gung ](https://profiles.wordpress.org/gung/)

[Traduïu «Simple Syntax Highlighting» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/simple-syntax-highlighting)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/simple-syntax-highlighting/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/simple-syntax-highlighting/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/simple-syntax-highlighting/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/simple-syntax-highlighting/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.1

 * Fix line numbering
 * Support plugin TinyMCE Advanced
 * Update readme.txt

#### 1.0

 * Initial release.

## Meta

 *  Versió **1.1**
 *  Darrera actualització **fa 8 anys**
 *  Instal·lacions actives **50+**
 *  Versió del WordPress ** 3.0 o posterior **
 *  Provada fins a **4.9.34**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/simple-syntax-highlighting/)
 * Etiquetes
 * [code](https://ca.wordpress.org/plugins/tags/code/)[highlighter](https://ca.wordpress.org/plugins/tags/highlighter/)
   [SSH](https://ca.wordpress.org/plugins/tags/ssh/)[syntax](https://ca.wordpress.org/plugins/tags/syntax/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/simple-syntax-highlighting/advanced/)

## Valoracions

 4 sobre 5 estrelles.

 *  [  0 valoracions de 5 estrelles     ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/?filter=5)
 *  [  1 valoració de 4 estrelles     ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/?filter=1)

[La vostra ressenya](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/simple-syntax-highlighting/reviews/)

## Col·laboradors

 *   [ gung ](https://profiles.wordpress.org/gung/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/simple-syntax-highlighting/)