Title: Code Markup
Author: bennettmcelwee
Published: <strong>12 مايو، 2005</strong>
Last modified: 14 أبريل، 2008

---

البحث عن الإضافات

هذه الإضافة **لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية**. قد لا
تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق
عند إستخدامها مع إصدارات حديثة من ووردبريس.

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

# Code Markup

 بواسطة [bennettmcelwee](https://profiles.wordpress.org/bennettmcelwee/)

[تنزيل](https://downloads.wordpress.org/plugin/code-markup.1.3.zip)

 * [تفاصيل](https://ar.wordpress.org/plugins/code-markup/#description)
 * [المراجعات](https://ar.wordpress.org/plugins/code-markup/#reviews)
 *  [التنصيب](https://ar.wordpress.org/plugins/code-markup/#installation)
 * [التطوير](https://ar.wordpress.org/plugins/code-markup/#developers)

 [الدعم](https://wordpress.org/support/plugin/code-markup/)

## التنصيب

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

## الأسئلة المتكررّة

  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”.

## المراجعات

لا توجد مراجعات لهذه الإضافة.

## المساهمون والمطوّرون

“Code Markup” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

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

[ترجمة ”Code Markup“ إلى لغتك.](https://translate.wordpress.org/projects/wp-plugins/code-markup)

### مُهتم بالتطوير؟

[تصفّح الشفرة](https://plugins.trac.wordpress.org/browser/code-markup/)، تحقق من
[مستودع SVN](https://plugins.svn.wordpress.org/code-markup/)، أو الاشتراك في [سجل التطوير](https://plugins.trac.wordpress.org/log/code-markup/)
بواسطة [RSS](https://plugins.trac.wordpress.org/log/code-markup/?limit=100&mode=stop_on_copy&format=rss).

## ميتا Meta

 *  Version **1.3**
 *  Last updated **قبل 18 سنة**
 *  Active installations **200+**
 *  WordPress version ** 1.5 أو أعلى **
 *  Tested up to **2.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/code-markup/)
 * Tags
 * [code](https://ar.wordpress.org/plugins/tags/code/)[format](https://ar.wordpress.org/plugins/tags/format/)
   [java](https://ar.wordpress.org/plugins/tags/java/)[markup](https://ar.wordpress.org/plugins/tags/markup/)
 *  [عرض متقدم](https://ar.wordpress.org/plugins/code-markup/advanced/)

## التقييم

لم يتم تقديم أي مراجعات بعد.

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

[See all reviews](https://wordpress.org/support/plugin/code-markup/reviews/)

## المساهمون

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

## الدعم

لديك شيء لتقوله؟ بحاجة الى مساعدة؟

 [عرض منتدى الدعم](https://wordpress.org/support/plugin/code-markup/)