https://github.com/dbelyaeff/easy-prism
WordPress prism syntax highlighter
https://github.com/dbelyaeff/easy-prism
Last synced: over 1 year ago
JSON representation
WordPress prism syntax highlighter
- Host: GitHub
- URL: https://github.com/dbelyaeff/easy-prism
- Owner: dbelyaeff
- License: gpl-2.0
- Created: 2014-12-17T11:21:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-20T07:19:57.000Z (over 11 years ago)
- Last Synced: 2025-01-24T15:34:59.099Z (over 1 year ago)
- Language: PHP
- Size: 641 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.html
- License: LICENSE
Awesome Lists containing this project
README
Easy Prism Syntax Highlighter
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 [code][/code], keyboard shortcut «alt+c» and button to Visual Editor.
If you want do define highlight syntax language, you may use direct lang param like [code php][/code].
Plugin will also highlight <pre class='language-html'>…</pre> and <code class='language-html'></code>, if you don’t want to use shortcode.
Installation
- Upload
easy-prism to the /wp-content/plugins/ directory
- Activate the plugin through the “Plugins” menu in WordPress
- Use [code][/code] or simple [c][/c] shortcode to display highlighted code.
Frequently Asked Questions
How to highlight inline element
It’s simple.
If you write inline [code][/code] – 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.
Screenshots
- Visual Editor.
- Frontend block and inline.
Changelog
1.0.1
Nightly bugfixes. Respond for plugin user feedback.
1.0
- Initial Commit