Grav Markdown Color Plugin
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHANGELOG.md Update CHANGELOG.md Jan 6, 2016
LICENSE Initial commit Dec 18, 2015
README.md Update README.md Dec 23, 2015
blueprints.yaml version update Jan 6, 2016
markdown-color.php
markdown-color.yaml Initial commit Dec 18, 2015

README.md

Grav Markdown Color Plugin

The markdown-color plugin for Grav allows you to add output colored text in Markdown:

Installation

This plugin is easy to install with GPM.

$ bin/gpm install markdown-color

Configuration

Simply copy the user/plugins/markdown-color/markdown-color.yaml into user/config/plugins/markdown-color.yaml and make your modifications.

enabled: true

Examples

This is {c:red}red text{/c} and this is {c:#000099}blue text{/c}.

Will produce the following HTML:

<p>
    This is <span style="color:red">red text</span> and this is <span style="color:#000099">blue text</span>.
</p>