Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

AH Code Highlighter

Опис

Really simple to use and extrem lightweigt Code Highlighting with 8 different code highlighting themes. You can highlight your code with or without line numbers. It is based on Lea Verou’s Prism.js. Prism is used on several big websites like the Smashing Magazine, A list Apart, CSS Tricks, SitePoint and Drupal, because it is fast, simple and lightweight.

AH Code Highlighter supports PHP, HTML, CSS, JavaScript, Apache, HTTP, Sess, Lass, Markdown, Nginx, MySql, Xml, Mathml, JSON, Git, C, C# und C++ and more…

Demo

You can find a demo of the plugin on the plugin homepage: Plugin Homepage

Basic Usage

Install and activate the plugin. Select your favorite Highlight Theme on the Options page (Settings => AH Code Highlighter). When you write a new post, click on the Code button, choose the code language and insert your code. Click OK and you’re done.

Скріншоти

  • The Settings Page
  • The Code Button
  • The Code Generator.
  • The Default Highlighting Theme
  • The Okaidia Highlighting Theme
  • The Coy Highlighting Theme
  • The Twilight Highlighting Theme
  • The Solarized Lite Highlighting Theme
  • The Dark Highlighting Theme
  • The Funky Highlighting Theme
  • The Tomorrow Night Theme

Встановлення

  1. Upload the plugin files to the /wp-content/plugins/ah-prism-syntax-highlighter/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Ready to use!

Часті питання

None at this time.

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/ah-prism-syntax-highlighter/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Ready to use!

Відгуки

03.09.2018
This is a perfect plugin, I can highlight the code without the raw editor. There is a petition, is it possible to add bash support? Thank you.
Прочитати всі 1 відгук

Учасники та розробники

“AH Code Highlighter” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “AH Code Highlighter” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

2.0.5

  • Add Tomorrow Night theme
  • Add new plugins and programming languages

2.0.4

  • Bugfix

2.0.3

  • Add two highlighting themes
  • Rename the Plugin

2.0.2

  • Add Review Link

2.0.1

  • Bugfix and backward compatibility

2.0.0

  • Completely rewritten

1.0.5

  • Some little fixes