Title: Code Markup
Author: bennettmcelwee
Published: <strong>12 Tháng 5, 2005</strong>
Last modified: 14 Tháng 4, 2008

---

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-markup.svg)

# Code Markup

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

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

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

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

## Cài đặt

 1. Copy code-markup.php into your WordPress plugins directory (wp-content/plugins).
 2. Log in to WordPress Admin. Go to the Plugins page and click Activate for Code Markup.
 3. Go to the Options page and click Writing. Make sure “WordPress should correct invalidly
    nested XHTML automatically” is NOT checked. (Otherwise it may do funny things to
    your code listings.)

## Hỏi đáp

  What is this good for?

The plugin allows you to quickly copy and paste code into your blog, and add HTML
markup to it to emphasise certain parts of it. Normally this is not possible without
a lot of fiddly manual editing.

  what tags are allowed by default?

If the code block has its lang attribute set to html or xhtml, then no tags are 
allowed: all tags are escaped and will display as typed. Otherwise the following
tags are allowed: em strong b i ins del a span

  How do I change the default behaviour?

To make the code block render as straight HTML, set the code block’s “markup” attribute
to “all”. In this case, make sure that you have typed correct HTML!

To make the code block display exactly as typed, set the code block’s “markup” attribute
to “none”.

To allow the default tags to be rendered as HTML, even in HTML code, set the code
block’s “markup” attribute to “default”.

## Đá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 Markup” 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

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

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

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

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

## Meta

 *  Phiên bản **1.3**
 *  Cập nhật lần cuối **18 năm trước**
 *  Số lượt cài đặt **200+**
 *  Phiên bản WordPress ** 1.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.5**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/code-markup/)
 * Thẻ
 * [code](https://vi.wordpress.org/plugins/tags/code/)[format](https://vi.wordpress.org/plugins/tags/format/)
   [java](https://vi.wordpress.org/plugins/tags/java/)[markup](https://vi.wordpress.org/plugins/tags/markup/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/code-markup/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

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

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

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

## 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-markup/)