Title: SyntaxHighlighter CKEditor Button
Author: solagirl
Published: <strong>7 de Setembro, 2012</strong>
Last modified: 21 de Abril, 2014

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/syntaxhighlighter-ckeditor-button.svg)

# SyntaxHighlighter CKEditor Button

 Por [solagirl](https://profiles.wordpress.org/solagirl/)

[Descargar](https://downloads.wordpress.org/plugin/syntaxhighlighter-ckeditor-button.1.2.2.zip)

 * [Detalles](https://gl.wordpress.org/plugins/syntaxhighlighter-ckeditor-button/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/syntaxhighlighter-ckeditor-button/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/syntaxhighlighter-ckeditor-button/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/syntaxhighlighter-ckeditor-button/#developers)

 [Soporte](https://wordpress.org/support/plugin/syntaxhighlighter-ckeditor-button/)

## Descrición

This plugin provides an additional code button for WordPress CKEditor so that you
can use syntaxhighlighter with CKEditor.

[CKEditor For WordPress](https://wordpress.org/extend/plugins/ckeditor-for-wordpress/)
plugin replaces the default WordPress editor with CKEditor, while [Auto SyntaxHighlighter](https://wordpress.org/extend/plugins/auto-syntaxhighlighter/)
plugin intergrates alexgorbatchev SyntaxHighlighter JavaScript package into WordPress
but doesn’t provide a code button for CKEditor. This is why I created the plugin.

If you opt not to install Auto SyntaxHighlighter plugin, then your code will simply
be wrapped with pre tag.

Auto SyntaxHighlighter is not the only choice, there are plenty of plugins out there
that integrate Alex Gorbatchev’s SyntaxHighlighter into WordPress, choose as you
like.

Note: If you encounter any problem after upgrading please clear your browser’s cache.

## Capturas

[⌊The code button in CKEditor⌉⌊The code button in CKEditor⌉[

The code button in CKEditor

[⌊The user interface for adding code⌉⌊The user interface for adding code⌉[

The user interface for adding code

[⌊Syntaxhighlighter in action⌉⌊Syntaxhighlighter in action⌉[

Syntaxhighlighter in action

[⌊What it looks like when a custom editor style is defined within CKEditor's advanced
settings.⌉⌊What it looks like when a custom editor style is defined within CKEditor's
advanced settings.⌉[

What it looks like when a custom editor style is defined within CKEditor’s advanced
settings.

## Instalación

 1. Upload this plugin to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Make sure you have installed and activated CKEditor For WordPress and Auto SyntaxHighlighter
    plugin.
 4. To give the pre tag a special style in the visual editor, go to “CKEditor->Advanced
    Settings”, set “Editor CSS” to be Define css, set “CSS path” to be **http://yourdomain.
    com/wp-content/plugins/syntaxhighlighter-ckeditor-button/ckeditor.css****. Please
    replace ****yourdomain.com** with the real path of your “WordPress Address” defined
    in “Setings->General”.
 5. Save the settings and enjoy.

Note: If you encounter any problem after upgrading please clear your browser’s cache.

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“SyntaxHighlighter CKEditor Button” é un software de código aberto. As seguintes
persoas colaboraron con este plugin.

Colaboradores

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

[Traduce “SyntaxHighlighter CKEditor Button” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/syntaxhighlighter-ckeditor-button)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/syntaxhighlighter-ckeditor-button/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/syntaxhighlighter-ckeditor-button/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/syntaxhighlighter-ckeditor-button/)
por [RSS](https://plugins.trac.wordpress.org/log/syntaxhighlighter-ckeditor-button/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 1.2.2

 * Put all ckeditor’s default style into ckeditor.css

#### 1.2.1

 * Make it compatible with the latest CKEditor For WordPress 4.0 plugin
 * Code button is moved to the insert toolbar

#### 1.2

 * Compatible with CKEditor For WordPress 4.0 and WordPress 3.5
 * Fix a bug when deactivating the plugin.

#### 1.1

 * Imporove the admin notification method, using wp pointer
 * Automatically remove the code button from ckeditor’s settings upon deactivation.

## Meta

 *  Versión **1.2.2**
 *  Última actualización **Fai 12 anos**
 *  Instalacións activas **70+**
 *  Versión de WordPress ** 3.3 ou superior **
 *  Probado ata **3.9.40**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/syntaxhighlighter-ckeditor-button/)
 * Etiquetas
 * [ckeditor](https://gl.wordpress.org/plugins/tags/ckeditor/)[SyntaxHighlighter](https://gl.wordpress.org/plugins/tags/syntaxhighlighter/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/syntaxhighlighter-ckeditor-button/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[Your review](https://wordpress.org/support/plugin/syntaxhighlighter-ckeditor-button/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/syntaxhighlighter-ckeditor-button/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/syntaxhighlighter-ckeditor-button/)