Title: Code Prettify Syntax Highlighter
Author: TrueFalse
Published: <strong>17 Tháng 12, 2012</strong>
Last modified: 17 Tháng 12, 2012

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/code-prettify-syntax-highlighter.svg)

# Code Prettify Syntax Highlighter

 Bởi [TrueFalse](https://profiles.wordpress.org/truefalse/)

[Tải về](https://downloads.wordpress.org/plugin/code-prettify-syntax-highlighter.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/code-prettify-syntax-highlighter/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/code-prettify-syntax-highlighter/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/code-prettify-syntax-highlighter/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/code-prettify-syntax-highlighter/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Mô tả

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”> перед
сохранением записи.’

## Ảnh màn hình

[⌊This frontend.⌉⌊This frontend.⌉[

This frontend.

[⌊This administration page.⌉⌊This administration page.⌉[

This administration page.

[⌊This post editing page.⌉⌊This post editing page.⌉[

This post editing page.

## Cài đặt

 1. Unzip files.
 2. Upload ‘cpsh’ to the ‘/wp-content/plugins/’ directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Go to your ‘Writing’.
 5. Go to your ‘Highlighting code with «google-code-prettify»’.

## Hỏi đáp

 * Syntax highlighting is not working?

Try disabling JQuery in your theme. Or comment the 33rd line of code plugin: wp_enqueue_script(‘
jquery’);

 * How do I block a themed code?

Specify the path to an arbitrary CSS file in the plugin settings. Examples of these,
see the catalog ‘http://example.com/wordpress/wp-content/plugins/cpsh/google-code-
prettify/prettify.css’.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Code Prettify Syntax Highlighter” là mã nguồn mở. Những người sau đã đóng góp vào
plugin này.

Những người đóng góp

 *   [ TrueFalse ](https://profiles.wordpress.org/truefalse/)

[Dịch “Code Prettify Syntax Highlighter” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/code-prettify-syntax-highlighter)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/code-prettify-syntax-highlighter/),
check out [SVN repository](https://plugins.svn.wordpress.org/code-prettify-syntax-highlighter/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/)
qua [RSS](https://plugins.trac.wordpress.org/log/code-prettify-syntax-highlighter/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0

 * The first version of the plugin.

## Meta

 *  Phiên bản **1.0**
 *  Cập nhật lần cuối **14 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 3.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.5.2**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/code-prettify-syntax-highlighter/)
 * Thẻ
 * [code](https://vi.wordpress.org/plugins/tags/code/)[css](https://vi.wordpress.org/plugins/tags/css/)
   [highlighter](https://vi.wordpress.org/plugins/tags/highlighter/)[html](https://vi.wordpress.org/plugins/tags/html/)
   [javascript](https://vi.wordpress.org/plugins/tags/javascript/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/code-prettify-syntax-highlighter/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/reviews/)

## Những người đóng góp

 *   [ TrueFalse ](https://profiles.wordpress.org/truefalse/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/code-prettify-syntax-highlighter/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](http://www.sooource.net)