Title: SmartAss Highlighter
Author: th3pirat3
Published: <strong>15 de enero de 2015</strong>
Last modified: 9 de mayo de 2015

---

Buscar plugins

![](https://ps.w.org/smartass-highlighter/assets/banner-772x250.jpg?rev=1068351)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/smartass-highlighter.svg)

# SmartAss Highlighter

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

[Descargar](https://downloads.wordpress.org/plugin/smartass-highlighter.zip)

 * [Detalles](https://es.wordpress.org/plugins/smartass-highlighter/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/smartass-highlighter/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/smartass-highlighter/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/smartass-highlighter/#developers)

 [Soporte](https://wordpress.org/support/plugin/smartass-highlighter/)

## Descripción

 * SmartAss Highlighter is a simple and easy to use code prettifier for wordpress.
 * The code between `<pre>` and `</pre>` tags is highlighted.
 * Almost all languages are supported, no need to mention the code language.
 * Customizable for each post, use `[highlighter]` shortcode to enable for particular
   post.
 * To change theme, modify `highlighter.css` in the plugin directory.
 * Button is available for both editor modes, i.e., Visual and Text editor.
 * Line Numbers are `ON` by _default_ but can be turned OFF by using modified shortcode`[
   highlighter line=0]`
 * **IMPORTANT** – This plugin would not be updated very frequently, updates (if
   required) may delay

#### Basic Usage

 1. Switch to Text Only Mode, Go to «Edit my profile» and then check «Disable the visual
    editor when writing»
 2. Create new post
 3. Put your code in between `<pre>` and `</pre>`
 4. **MUST** use shortcode **`[highlighter]`** to activate the SmartAss-Highlighter
 5. Line numbers are _on_ by _default_, but can be switched off by using **`[highlighter
    line=0]`**
 6. **Note**: Only the Posts having shortcode `[highlighter]` will be highlighted. 
    Your previous posts won’t be affected.
 7. **Do NOT** use html codes for special characters ( `&lt;` or `&gt;` ), Directly
    use `<` or `>`

#### More Information

For more information of this plugin, please visit: [Plugin Homepage](http://justtechthings.com/SmartAss-Highlighter/).

## Capturas

[⌊Visual editor screenshot⌉⌊Visual editor screenshot⌉[

Visual editor screenshot

[⌊Text only editor screenshot⌉⌊Text only editor screenshot⌉[

Text only editor screenshot

[⌊Sample highlighted output with line numbers⌉⌊Sample highlighted output with line
numbers⌉[

Sample highlighted output with line numbers

[⌊Sample highlighted output without line numbers⌉⌊Sample highlighted output without
line numbers⌉[

Sample highlighted output without line numbers

[⌊Code button⌉⌊Code button⌉[

Code button

## Instalación

 1. Download and extract `"SmartAss-Highlighter.zip"` to `"wp-content/plugins/"`
 2. Activate the plugin through the «Plugins» menu in WordPress
 3. Put your code in between `<pre>` and `</pre>` (It provides a code button in the
    editor)
 4. **MUST** use shortcode **`[highlighter]`** to activate the SmartAss-Highlighter
 5. Line numbers are _on_ by _default_, but can be switched off by using **`[highlighter
    line=0]`**

## FAQ

  Which programming languages are supported?

It supports all programming languages. No need to mention the language of the code
anywhere

  I don’t like the style and theme colors of this plugin. How to change the colors?

Edit the file _highlighter.css_ to change the colors. See the documentation of CSS
and class details at [Google Code Prettify](https://code.google.com/p/google-code-prettify/source/browse/trunk/src/prettify.css)

  Will this highlighter make my webpage slow?

SmartAss Highlighter uses two files in output- `highlighter.js` and `highlighter.
css`. These two files have total size of 17KB but If you web server supports [compression](http://justtechthings.com/2A1KS)
then the reduced load will be of 7KB. However, If your server does not support compression
or you dont have control over it, please visit [plugin page](http://justtechthings.com/SmartAss-Highlighter/).

  What is different about this highlighter?

 * It uses a shortcode to trigger, so user can control highlighting from post to
   post.
 * The extra code/libraries are added in footer, so that you page is loaded first
   and highlighting is done later _asynchronously_
 * No option menu

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«SmartAss Highlighter» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

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

[Traduce «SmartAss Highlighter» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/smartass-highlighter)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/smartass-highlighter/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/smartass-highlighter/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/smartass-highlighter/)
por [RSS](https://plugins.trac.wordpress.org/log/smartass-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.0

 * First release

## Meta

 *  Versión **1.0**
 *  Última actualización **hace 12 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 2.7 o superior **
 *  Probado hasta **4.2.39**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/smartass-highlighter/)
 * Etiquetas:
 * [code highlighter](https://es.wordpress.org/plugins/tags/code-highlighter/)[highlighter](https://es.wordpress.org/plugins/tags/highlighter/)
   [wordpress code highlight](https://es.wordpress.org/plugins/tags/wordpress-code-highlight/)
   [wp code](https://es.wordpress.org/plugins/tags/wp-code/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/smartass-highlighter/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Tu valoración](https://wordpress.org/support/plugin/smartass-highlighter/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/smartass-highlighter/reviews/)

## Colaboradores

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

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/smartass-highlighter/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EVULYXVJWP8ZW)