رفتن به مطلب
  • :excl2: در صورت مشکل در دریافت فایل و گیر کردن روی ۹۹ درصد، لطفا از طریق خودِ مرورگر، فایل ها را دریافت نمایید.

1 تصویر

درباره این فایل

توسط این مد SyntaxHighlighter درونی سیستم با SyntaxHighlighter پیشرفته این سیستم جایگزین می گردد.

SyntaxHighlighter Drop-in Replacement allows for you, the forum admin, to take control of what code highlighters are used on your forum. This replaces the current highlighter (prettify) with a popular alternative SyntaxHighlighter. This is 100% compatible with the original code box and does not edit or remove any of the default code.

By switching to SyntaxHighlighter you gain a few new settings:

  1. Ability to parse outdated bbcodes (html, php, sql, xml)1
  2. Enable or disable the ability to click on URLs within code boxes
  3. Change the tab size
  4. Auto-collapse code boxes on page load, similar to a spoiler feature. This is great for forums with a lot of code.
  5. Ability to disable line numbers if the author wishes to do so.
  6. Change the CSS within the admin interface (including changing to a new theme)

There are numerous items in the pipeline as well:

  1. Add in new languages available to the user within the Code box dialog in the rich text editor
  2. Ability for users to highlight select lines, great for help with debugging!
  3. A new toolbar which allows users to hide line numbers for any code box, open a "raw" version (plain text) of the code, print, etc.

This hook is open source and any contributor can include it with his or her themes and applications, or contribute via bug fixes / addition of features. Even though it is open source, I ask for contributors to include credit if used. smile.png

1 - It should be noted that there is an outstanding bug with IPB on this and currently does not render old bbcodes. Once IPB's bug is fixed, this feature can be enabled.

 اشتراک گذاری


×
×
  • اضافه کردن...

اطلاعات مهم

ما مجبور شدیم تا از کوکی ها و فناوری های مشابه برای اجرای این وب سایت استفاده کنیم تا بتوانیم تجربه بهتری در زمان استفاده از سایت برای شما ایجاد نماییم. سیاست حریم خصوصی.