Prism Syntax Highlighter for WordPress
Despite two plugins already on wordpress.org I decided to write my own from scratch. The result is a minimalistic but powerful plugin with only ~250 lines of PHP.
- Supports every possible Prism configuration.
- Adds TinyMCE dropdown lost for
andfor bash, css, js, markup, php, scss. (I can make a filter if you want to add more.) - Does not load prism on every page, only when needed.
- Supports automatic detection of prism HTML.
- Supports displaying code from custom fields with
[prism]shortcode. - Developers may use the
prismhandle to enqueue the pre-registered script and style. - Has admin editor button for quick shortcode template snippet.
- Has no options page by design.
- Read more -> Prism Syntax Highlighter for WordPress
Bundled Prism Version (2016-09-17)
Link: http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+less+php&plugins=line-highlight+line-numbers+wpd+show-language
Skin: Okaida
Languages
- Markup
- CSS
- C-like
- JavaScript
- Bash
- PHP
- Sass (Scss)
Plugins
- Line Highlight
- Line Numbers
- WebPlatform Docs
- Show Language
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| t*s*a*t*m*t*o*p*o.com (WP 6.8.5) | F | 2026-04-09 04:54:51 | |
| a*c*s*a*i*l*.com (WP 6.7.5) | F | 2026-03-31 16:02:56 | |
| t*e*a*i*c*a*.com | — | 2025-11-10 23:55:03 |
Page 1 of 1