跳到内容

Smart Code Escape

v1.1

danielpataki · 2014年12月8日 上架

A tiny plugin for WordPress which converts greater than signs, smaller than signs and ampersands to html entities within pre tags.

正在使用
10+
评分
5.0 / 5
累计下载
2,412
最近更新
2015年4月23日
1 条评价需要 WordPress 1.2.1+已测试到 4.2.39

贡献者

截图

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.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums