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.
- Activate the plugin through the “Plugins” menu in WordPress
- Use or simple shortcode to display highlighted code.
shortcode only in Visual Editor. For BB-Editor mode use normal
<code class='language-html'></code> tag.
- How to highlight inline element
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 email@example.com with subject “Feature request for Easy Prism Syntax Highlighter plugin” a letter and make request.
Contributors and Developers
“Easy Prism Syntax Highlighter” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Remove all tags inside
, because while it’s been inputed in Visual Editor it makes a lot of garbage.
Nightly bugfixes. Respond for plugin user feedback.
- Initial Commit