Plugin info

Total downloads: 836
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: 1/14/2018 (2962 days ago)
Added to WordPress: 1/14/2018 (8 years old)
Minimum WordPress version: f
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2962 days ago

20/100

Is wp-prism abandoned?

Possibly abandoned (last update 2962 days ago).

Compatibility

Requires WordPress: f
Tested up to: f
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

wp-prism brings GitHub-styled code-fencing and prism-powered syntax highlighting to your WordPress installation, written from scratch to be as freaky fast as possible.

wp-prism currently supports syntax highlighting for 41 languages and only loads the JavaScript and CSS to highlight your syntax when needed.

You can say goodbye to page bloat and long load times, because it makes no sense to do this any other way.

What it does

wp-prism does exactly what it says on the box: it takes a code-fenced block of source code nested in your WordPress pages and posts, like this:

    `rust
fn main() {
    println!("Hello, world!");
}
    `

And turns into a syntax-highlighted work of art, like this:

`rust

fn main() {
println!(“Hello, world!”);
}

How to install


Just grab a copy of
wp-prism` from the WordPress plugins repository or clone our github repo from https://github.com/neosmart/wp-prism.

There is no configuration needed.

Avoiding whitespace mangling

WordPress (well, TinyMCE) loves to mangle whitespace in posts. As such, wp-prism supports (and recommends) embedding your code fragments in

 tags if you’re going to use the visual editor (or will use the visual editor at any point). wp-prism detects the outer 
 and takes care not to emit a second 
 tag in such cases.

To illustrate with an example:

    `cpp
void Greet(const char *name)
{
    printf("Hello %s!\n", name);
}
    `
`cpp

void Greet(const char *name)
{
printf(“Hello %s!\n”, name);
}
`

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

No changelog available