Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

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.

Στιγμιότυπα

  • Development release

Εγκατάσταση

  1. Download the plugin from WordPress Plugin Directory.
  2. Upload escape-html-for-prism.php to the /wp-content/plugins/ directory
  3. Active the plugin
  4. Now, for new posts, code can be posted without escaping HTML.

Συχνές Ερωτήσεις

Who should use this plugin ?

This plugin is written for escaping characters (<, > and &) to html entities. This is required for Syntax Highlighting of HTML code using Prism.
This plugin will work on code written inside <pre><code> Affected Code </code></pre>. If you want a plugin to work on

<

pre>, and separately then use Escape HTML.

Κριτικές

Ανάγνωση όλων των 2 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Escape HTML For Prism Syntax Highlighter” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές