Highlighting the code in the post with JavaScript library «google-code-prettify».
Author: | TrueFalse (profile at wordpress.org) |
WordPress version required: | 3.5 |
WordPress version tested: | 3.5 |
Plugin version: | 1.0 |
Added to WordPress repository: | 17-12-2012 |
Last updated: | 17-12-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | http://www.sooource.net/code-prettify-syntax-... |
Total downloads: | 1 698 |
Active installs: | 10+ |
Click to start download |
English:
This plugin to select blocks of code takes advantage of JavaScript-library 'google-code-prettify'. If it is for his work simply insert frame <pre> tag with class 'prettyprint'.
*** Tip: In order to optimize the use of resources, try to use only one option - 'Automatically replace the tags <pre> to <pre class="prettyprint linenums"> before saving post.'
Russian:
Данный плагин для выделения блоков кода использует возможности JavaScript-библиотеки 'google-code-prettify'. При это для его работы достаточно просто обрамлять вставки тегом <pre> с классом 'prettyprint'.
***Совет: в целях оптимизации потребления ресурсов старайтесь использовать только 1 флажок - 'Автоматически заменять <pre> на <pre class="prettyprint linenums"> перед сохранением записи.'
Screenshots
FAQ
ChangeLog