內容簡介
要在網頁上顯示<b>text</b>,我們需要在 WordPress 文字編輯器中輸入<b>text</b>。在網上發布程式碼時,需要將三個字符(<、>和&)進行轉義。 我們可以使用在線的工具,手動將< 轉換為<等,或使用易於使用的外掛。此外,它還可以幫助語法突出顯示器,您需要在將該代碼放入 WordPress 編輯器之前進行標記轉義。
它逃避在<pre>、<code>和<tt>內的markup代碼。
該外掛還可與需要逃避<pre>、<code>和<tt>內markup的任何語法突出顯示器一起使用。只需將代碼放入編輯器的文本模式中,然後保存草稿或發布。現在檢查代碼,它可能已轉換以進行代碼的在網上發布。
此外,此外掛僅在保存文章時才會生效,且僅影響那些被寫在<pre>、<code>和<tt>標籤內的文字。
有關此外掛和使用此外掛的 WordPress 設置的更多信息,請在這裡查看。
相關外掛-逃避Prism的Markup
來自Satya 的另一個 WP 外掛 - 性能優化:訂單樣式和 JavaScript。
外掛標籤
開發者團隊
原文外掛簡介
To show text to visitors we need to enter <b>text</b> in our WordPress Text editor. For posting code online, three characters (<, > and &) need to be escaped. We can do that online tool, manually converting < to < etc. or using easy to use Plugin. It also helps with syntax Highlighter where you need to escape markup before putting that code in WordPress Editor. It escapes markup code inside
, and .
The plugin can also be used with any Syntax Highlighter where you need to escapes Markup inside
, and . Just put your code inside Text Mode of Editor and then either Save as Draft or Publish. Check you code now and it may have converted for online posting of code.
This plugin only come into effect when we save a post and it only affect those text written inside <pre>, <code> and <tt> tag.
For more information about this plugin and wordpress setting related to this plugin, please check here.
Related Plugin – Escaping Markup for Prism
Another WP plugin from Satya – Performance Optimization: Order Styles and JavaScript.
延伸相關外掛
