內容簡介
此外掛是我早期的 Escape HTML 的擴充。
許多人在 WordPress 上發佈程式碼和腳本,因此需要將這些代碼轉換為 HTML 實體以進行轉義。在 WordPress 中發佈時,需要轉義一些字符,以便訪問者可以看到原始碼。也有一些線上 轉碼工具。該外掛可以幫助您省去手動轉碼的麻煩。
此外掛 - Escape HTML For Prism Syntax Highlighter - 負責處理 <、> 和 &。如果不將 HTML 代碼轉換為 HTML 實體,Prism 將拋棄這些 HTML。
此外掛將在儲存或發佈文章時啟動,僅影響範圍為 <pre><code> 影響的代碼 </code></pre> 的文本。
大多數 RSS 閱讀器不支援 JavaScript。因此,許多博客所有人使用基於 JavaScript 的客戶端語法突出顯示器。Prism 是輕量級且快速的基於 JavaScript 的語法突出顯示器之一。
此外掛不需要任何設置。只需安裝並啟用即可。
了解更多有關此外掛的信息 - Escape HTML For Prism Syntax Highlighter。
外掛標籤
開發者團隊
② 後台搜尋「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
Affected Code
.
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.
