PHPackages                             aleksnyder/grav-plugin-prism - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aleksnyder/grav-plugin-prism

ActiveGrav-plugin[Utility &amp; Helpers](/categories/utility)

aleksnyder/grav-plugin-prism
============================

Embed code blocks with Prism's syntax highlighting

0.0.1(7y ago)07MITPHPPHP &gt;=7.1.3

Since May 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aleksnyder/grav-plugin-prism)[ Packagist](https://packagist.org/packages/aleksnyder/grav-plugin-prism)[ Docs](https://github.com/aleksnyder/grav-plugin-prism)[ RSS](/packages/aleksnyder-grav-plugin-prism/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Prism Plugin
============

[](#prism-plugin)

**This README.md file should be modified to describe the features, installation, configuration, and general usage of this plugin.**

The **Prism** Plugin is for [Grav CMS](http://github.com/getgrav/grav). Provide a way to embed prism's syntax highlighting library in markdown.

Installation
------------

[](#installation)

Installing the Prism plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.

### GPM Installation (Preferred)

[](#gpm-installation-preferred)

The simplest way to install this plugin is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's terminal (also called the command line). From the root of your Grav install type:

```
bin/gpm install prism

```

This will install the Prism plugin into your `/user/plugins` directory within Grav. Its files can be found under `/your/site/grav/user/plugins/prism`.

### Manual Installation

[](#manual-installation)

To install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `prism`. You can find these files on [GitHub](https://github.com/alek-snyder/grav-plugin-prism) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).

You should now have all the plugin files under

```
/your/site/grav/user/plugins/prism

```

> NOTE: This plugin is a modular component for Grav which requires [Grav](http://github.com/getgrav/grav) and the [Error](https://github.com/getgrav/grav-plugin-error) and [Problems](https://github.com/getgrav/grav-plugin-problems) to operate.

Configuration
-------------

[](#configuration)

Before configuring this plugin, you should copy the `user/plugins/prism/prism.yaml` to `user/config/plugins/prism.yaml` and only edit that copy.

Here is the default configuration and an explanation of available options:

```
enabled: true
```

Usage
-----

[](#usage)

**Describe how to use the plugin.**

Credits
-------

[](#credits)

**Did you incorporate third-party code? Want to thank somebody?**

To Do
-----

[](#to-do)

- Future plans, if any

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/458614828e48ff712917c407e61b8ba9e9a3fb325ffad6b8766fb3a533ea1b78?d=identicon)[aleksnyder](/maintainers/aleksnyder)

---

Tags

gravphpprism

### Embed Badge

![Health badge](/badges/aleksnyder-grav-plugin-prism/health.svg)

```
[![Health](https://phpackages.com/badges/aleksnyder-grav-plugin-prism/health.svg)](https://phpackages.com/packages/aleksnyder-grav-plugin-prism)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
