Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Prism Highlight

Descripción

This plugin uses the Prism.JS to Highlight & Style Code

The plugin also adds styling to the existing prism Quick tag in your WordPress text editor.

Languages Supported:

  • Markup
  • CSS
  • C-like
  • JavaScript
  • PHP

Capturas

  • Click The prism Button To Wrap Code in Opening & Closing Pre tags.
  • CSS Code Highlighted with Line no.
  • CSS Code Highlighted with no Line.
  • PHP Code Example.

Instalación

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the \Plugins\ menu in WordPress

Preguntas frecuentes

#1. No code displayed on the post?

Ans. Please parse your code using any HTML to XML parser, Use Postify to parse your code.

#2. How to remove line numbers?

Ans. Simple remove class="line-numbers" from <pre.

#3. Why its support 5 languages only?

Ans. I want the really lightweight plugin, so its support only 5 languages.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce "Prism Highlight" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.5

  • Version Change Added, WordPress 5.9 Support
  • Update code from Official Website – PrismJS 1.15.0 – 31/08/2018

1.4

  • Version Change Added, WordPress 4.7 Support
  • Update code from Official Website – 05/01/2017

1.3

  • Version Change Added, WordPress 4.6 Support

1.2

  • Description Changed
  • Icon Added

1.1

  • Code Changes

1.0.1

  • Change Screen Shots

1.0

  • Release the Plugin