Title: Smart Code Escape
Author: danielpataki
Published: <strong>8 de desembre de 2014</strong>
Last modified: 22 d'abril de 2015

---

Cerca extensions

![](https://ps.w.org/smart-code-escape/assets/banner-772x250.png?rev=1040661)

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/smart-code-escape/assets/icon-256x256.png?rev=1040661)

# Smart Code Escape

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

[Baixa](https://downloads.wordpress.org/plugin/smart-code-escape.zip)

 * [Detalls](https://ca.wordpress.org/plugins/smart-code-escape/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/smart-code-escape/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/smart-code-escape/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/smart-code-escape/#developers)

 [Suport](https://wordpress.org/support/plugin/smart-code-escape/)

## Descripció

A tiny plugin for WordPress which converts greater than signs, smaller than signs
and ampersands to html entities within pre tags. It supports semantic syntax you
would use when using the Prism highlighter for example. If a code tag sits immediately
within a pre tag it will not be escaped.

Code is escaped before it is displayed which gives you easy editing access in the
backend as you will always see the unescaped version.

## Captures

 * [[
 * Some code written in the admin. Notice, no need to encode entities
 * [[
 * This is how it is shown on the front-end. The initial code tag is not encoded
   for use in Prism.

## Instal·lació

Since this a WordPress plugin just search for “Smart Code Escape” in the plugins
section in the admin and install it from there. If you would rather install it manually
you can do the following:

 1. Download and extract the plugin
 2. Copy the resulting directory into your WordPress plugins directory
 3. Go to your WordPress admin and activate the plugin.

## PMF

  Where are the settings?

There are no settings at the moment. The plugin will escape your code for you within
pre tags, not setup needed.

  How should I format my code?

The whole reason for the plugin is so you don’t need to add any special formatting.
You can type any characters you like, they will show up as you’d expect in the admin
and will be escaped on the front-end.

  Does the plugin work with syntax highlighters

I have only tested it with Prism but I imagine it should work with a number of others
as well. Prism requires you to create a semantically correct markup. The plugin 
does not escape a code tag if it is directly within a pre tag for this reason.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Smart Code Escape» és programari de codi obert. La següent gent ha col·laborat 
en aquesta extensió.

Col·laboradors

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

[Traduïu «Smart Code Escape» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/smart-code-escape)

### Interessats en el desenvolupament?

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

## Registre de canvis

#### 1.1.0 (2015-04-20)

 * WordPress 4.2 compatibility check

#### 1.0.1

 * Added Smaller Icon

#### 1.0

 * Initial version

## Meta

 *  Versió **1.1**
 *  Darrera actualització **fa 11 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 1.2.1 o posterior **
 *  Provada fins a **4.2.39**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/smart-code-escape/)
 * Etiquetes
 * [code](https://ca.wordpress.org/plugins/tags/code/)[content](https://ca.wordpress.org/plugins/tags/content/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/smart-code-escape/advanced/)

## Valoracions

 5 sobre 5 estrelles.

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

[Your review](https://wordpress.org/support/plugin/smart-code-escape/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/smart-code-escape/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/smart-code-escape/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://gratipay.com/danielpataki/)