Title: Smart Code Escape
Author: danielpataki
Published: <strong>8 dezembro, 2014</strong>
Last modified: 22 abril, 2015

---

Pesquisar plugins

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

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://ps.w.org/smart-code-escape/assets/icon-256x256.png?rev=1040661)

# Smart Code Escape

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

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

 * [Detalhes](https://br.wordpress.org/plugins/smart-code-escape/#description)
 * [Avaliações](https://br.wordpress.org/plugins/smart-code-escape/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/smart-code-escape/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/smart-code-escape/#developers)

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

## Descrição

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.

## Capturas de tela

[⌊Some code written in the admin. Notice, no need to encode entities⌉⌊Some code 
written in the admin. Notice, no need to encode entities⌉[

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.⌉⌊This is how it is shown on the front-end. The initial code tag
is not encoded for use in Prism.⌉[

This is how it is shown on the front-end. The initial code tag is not encoded for
use in Prism.

## Instalação

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.

## Perguntas frequentes

  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.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Smart Code Escape” é um programa de código aberto. As seguintes pessoas contribuíram
para este plugin.

Colaboradores

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

[Traduzir o “Smart Code Escape” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/smart-code-escape)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/smart-code-escape/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/smart-code-escape/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/smart-code-escape/)
por [RSS](https://plugins.trac.wordpress.org/log/smart-code-escape/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

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

 * WordPress 4.2 compatibility check

#### 1.0.1

 * Added Smaller Icon

#### 1.0

 * Initial version

## Meta

 *  Versão **1.1**
 *  Última atualização **11 anos atrás**
 *  Instalações ativas **10+**
 *  Versão do WordPress ** 1.2.1 ou superior **
 *  Testado até **4.2.39**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/smart-code-escape/)
 * Tags
 * [code](https://br.wordpress.org/plugins/tags/code/)[content](https://br.wordpress.org/plugins/tags/content/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/smart-code-escape/advanced/)

## Classificações

 5 de 5 estrelas.

 *  [  1 avaliação com 5 estrela     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=5)
 *  [  0 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=3)
 *  [  0 avaliação com 2 estrela     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=2)
 *  [  0 avaliação com 1 estrela     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=1)

[Sua avaliação](https://wordpress.org/support/plugin/smart-code-escape/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/smart-code-escape/reviews/)

## Colaboradores

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

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/smart-code-escape/)

## Doar

Gostaria de contribuir para o desenvolvimento deste plugin?

 [ Doe para este plugin ](https://gratipay.com/danielpataki/)