Title: Smart Code Escape
Author: danielpataki
Published: <strong>08.12.2014</strong>
Last modified: 22.04.2015

---

Шукати плагіни

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

Цей плагін **не перевірявся з останніми 3-ма основними випусками WordPress**. Можливо,
він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності
при використанні з більш новими версіями WordPress.

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

# Smart Code Escape

 Від автора [danielpataki](https://profiles.wordpress.org/danielpataki/)

[Завантажити](https://downloads.wordpress.org/plugin/smart-code-escape.zip)

 * [Деталі](https://uk.wordpress.org/plugins/smart-code-escape/#description)
 * [Відгуки](https://uk.wordpress.org/plugins/smart-code-escape/#reviews)
 *  [Встановлення](https://uk.wordpress.org/plugins/smart-code-escape/#installation)
 * [Розробка](https://uk.wordpress.org/plugins/smart-code-escape/#developers)

 [Підтримка](https://wordpress.org/support/plugin/smart-code-escape/)

## Опис

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.

## Скріншоти

[⌊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.

## Встановлення

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.

## Часті питання

  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.

## Відгуки

Для цього плагіна немає відгуків.

## Учасники та розробники

“Smart Code Escape” — проект з відкритим вихідним кодом. В розвиток плагіну внесли
свій вклад наступні учасники:

Учасники

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

[Перекладіть “Smart Code Escape” на вашу мову.](https://translate.wordpress.org/projects/wp-plugins/smart-code-escape)

### Цікавитесь розробкою?

[Перегляньте код](https://plugins.trac.wordpress.org/browser/smart-code-escape/),
перегляньте [сховище SVN](https://plugins.svn.wordpress.org/smart-code-escape/) 
або підпишіться на [журнал розробки](https://plugins.trac.wordpress.org/log/smart-code-escape/)
за допомогою [RSS](https://plugins.trac.wordpress.org/log/smart-code-escape/?limit=100&mode=stop_on_copy&format=rss).

## Журнал змін

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

 * WordPress 4.2 compatibility check

#### 1.0.1

 * Added Smaller Icon

#### 1.0

 * Initial version

## Мета

 *  Версія **1.1**
 *  Останнє оновлення **11 років тому**
 *  Активних встановлень **10+**
 *  Версія WordPress ** 1.2.1 або вище **
 *  Tested up to **4.2.39**
 *  Мова
 * [English (US)](https://wordpress.org/plugins/smart-code-escape/)
 * Позначки
 * [code](https://uk.wordpress.org/plugins/tags/code/)[content](https://uk.wordpress.org/plugins/tags/content/)
 *  [Розширений перегляд](https://uk.wordpress.org/plugins/smart-code-escape/advanced/)

## Оцінки

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/smart-code-escape/reviews/?filter=1)

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

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

## Учасники

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

## Підтримка

Є що сказати? Потрібна допомога?

 [Перейти в форум підтримки](https://wordpress.org/support/plugin/smart-code-escape/)

## Пожертвування

Ви хотіли б підтримати розвиток цього плагіна?

 [ Пожертвувати на розвиток плагіна ](https://gratipay.com/danielpataki/)