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

Smart Syntax

الوصف

Smart Syntax plugin automatically adds Google prettify syntax highlighting to the fenced code blocks in both content and comments.

It’s made with Jetpack markdown in mind, which brings the power of markdown extra to WordPress and gives you an easy to use markdown syntax for fenced code blocks.

For more information on usage and features, check out smartpixels.

التنصيب

  1. Install Smart Syntax either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate Smart Syntax through the ‘Plugins’ menu in WordPress.You will now see ‘Smart Syntax’ menu in admin sidebar.
  3. You can leave the default settings as it is or change according to your needs.
  4. Voila! Your code is now highlighted.

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

I don’t use Jetpack markdown?

Jetpack markdown is not a necessity. You can add syntax highlighting for fenced code blocks in the following format

 <pre><code class="html"> echo 'Hello World!'; </code></pre>
How do I contact you ?

Please use the support forum here.

المراجعات

إقرأ جميع المراجعات 3

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

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

المساهمون

ترجمة ”Smart Syntax“ إلى لغتك.

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

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

  • Initial release

  • 1.0.3
    Altering google CDN for prettify to reflect the changes