Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Easy Prism Syntax Highlighter

Descrição

Tired to search for normal, easy to install programming code highlight plugin?

This one will help you to end this adventure.

It adds special shortcode , keyboard shortcut «alt+c» and button to Visual Editor.

If you want do define highlight syntax language, you may use direct lang param like .

Plugin will also highlight <pre class='language-html'>…</pre> and <code class='language-html'></code>, if you don’t want to use shortcode.

Ecrãs

  • Visual Editor.
  • Frontend block and inline.

Instalação

  1. Upload easy-prism to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Use or simple shortcode to display highlighted code.

Important: Use shortcode only in Visual Editor. For BB-Editor mode use normal <code class='language-html'></code> tag.

Perguntas frequentes

How to highlight inline element

It’s simple.

If you write inline – it will be displayed inline.

In case you put in one and more linebreaks “\n” – it will be displayed as block element.

Can I use this plugin with other syntax highlight?

You may do what you want, but plugins author doesn’t promise that any other syntax highlight plugin will work correctly with the original one.

Is it possible to add more capatibilites to this plugin?

Of course. Write me to info@wpthy.com with subject “Feature request for Easy Prism Syntax Highlighter plugin” a letter and make request.

Avaliações

22 de Julho, 2017
Hi WordPress community, This plugin is outdated and isn't compatible with the latest WP versions. I recently installed it and worked correctly on posts but crashed some parts of my theme, hence I recommend not to use this plugin. It adds unnecessary <p> tags everywhere.
Ler todas as 2 avaliações

Contribuidores e programadores

“Easy Prism Syntax Highlighter” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Easy Prism Syntax Highlighter” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.0.2.

Remove all tags inside , because while it’s been inputed in Visual Editor it makes a lot of garbage.

1.0.1

Nightly bugfixes. Respond for plugin user feedback.

1.0

  • Initial Commit