Maintenance 20/1001148d since update
Active installs
0
Downloads
2,679
Reviews
0
Age
3.1y
Tagshighlightersyntax highlighterprism
Plugin info
Total downloads: 2,679
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/9/2022 (1148 days ago)
Added to WordPress: 11/9/2022 (3 years old)
Minimum WordPress version: f
Tested up to WordPress version: 6.1.9
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 1148 days ago
20/100
Is Syntax Highlighter with PrismJS abandoned?
Possibly abandoned (last update 1148 days ago).
Compatibility
Requires WordPress: f
Tested up to: 6.1.9
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
APH Prism Syntax Highlighter
Rating 3.9/5 (7 reviews) • Active installs 100
AH Code Highlighter
Rating 5.0/5 (1 reviews) • Active installs 70
Alkane Code
Rating 0.0/5 (0 reviews) • Active installs 10
Elementor Syntax Highlighter
Rating 5.0/5 (3 reviews) • Active installs 200
Prism Syntax Highlighter for WordPress
Rating 3.3/5 (7 reviews) • Active installs 60
WP Prism Syntax Highlighter
Rating 5.0/5 (2 reviews) • Active installs 30
Description
A syntax highlighter using PrismJs.
How To Use
Wrap your pre tag as shown below:
[sh_prismjs_pre class="language-py line-numbers match-braces rainbow-braces" data_line="1,4-5,7" escape_html='escape']
class Implements_Ne:
''' A class which implements
the __ne__ method '''
def __ne__( self, other):
return False
class Not_Implements_Ne:
''' A class which does not
implement the __ne__
method '''
pass
[/sh_prismjs_pre]
- Replace name in language-NAME, by the name of the language that you wish to highlight. For example if the language is python, language-NAME should become language-py .
- If you wish line numbers to appear, use line-numbers .
- If you wish braces to be matched when selected use match-braces .
- If you wish to have rainbow braces use rainbow-braces .
- If you wish to highlight lines, you can use data_line, so in the example provided, colorize line 1, and colorize lines from 4 to 5, and colorize line 7.
- If you wish the content of the pre to be escaped, so for example if it contains html tags that you do not wish to be rendered, you can use escape_html=’escape’
For code tags, they also should be wrapped as follows:
[sh_prismjs_code class="language-html" escape_html='escape']tag:
[/sh_prismjs_code]
You must use the language-Name option, and you can use the escape_html option.
Installation
No installation instructions available
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
0.0.1
- initial release.