跳到内容

Escape HTML For Prism Syntax Highlighter

v0.5

Satya Prakash · 2013年10月10日 上架

Helpful plugin for those who post HTML/Markup using Prism. It support <pre><code class="language-xxxx"> syntax.

正在使用
10+
评分
5.0 / 5
累计下载
2,661
最近更新
2013年10月11日
2 条评价需要 WordPress 2.0.2+已测试到 3.6.1

贡献者

截图

Development release
Development release
Escape HTML For Prism Syntax Highlighter

This plugin is a extension of my earlier plugin Escape HTML.
Many of us post code and scripts online on WordPress and for that we need to escape those codes to html entities. For posting inside WordPress, we need to escape few characters so that it appears as it is to visitors. There are few online escaping tool as well. This plugin save your effort to escape code manually.

The plugin – Escape HTML For Prism Syntax Highlighter – take cares of <, > and &. Without converting HTML code to HTML entities, Prism will strip off those HTML.

This plugin work when we Save or Draft a Post and it only affect those text written inside <pre><code> Affected Code </code></pre>.
Most feed readers do not support JavaScript. So, many blog owners are using client-side syntax highlighter based on JavaScript. Prism is one just lightweight and fast Syntax Highlighter based on JavaScript.

This plugin does not require any setting. Just install and enable it.
For more information about this plugin – Escape HTML For Prism Syntax Highlighter.

Plums

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

导航

说明

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

© 2026 Plums