Este plugin não foi testado com os 3 lançamentos principais mais recentes do WordPress. Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

AH Code Highlighter

Descrição

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.

Capturas de tela

  • 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

Instalação

  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!

Perguntas frequentes

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!

Avaliações

3 setembro, 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.
Leia a 1 avaliação

Colaboradores e desenvolvedores

“AH Code Highlighter” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Registro de alterações

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