A Sculpin bundle that allows you to write pages using reStructuredText
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
composer.json
composer.lock

README.md

Sculpin reStructuredText bundle

Wraps Gregwar's reStructuredText parser in a bundle for sculpin.

Read more about it in my introductory blog post.

Installation

  • Add the bundle to your sculpin.json
{
    "require": {
        "rjkip/sculpin-rst-bundle": "dev-develop"
    }
}
  • Add the bundle to your kernel
<?php // app/SculpinKernel.php

use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel;

class SculpinKernel extends AbstractKernel
{
    protected function getAdditionalSculpinBundles()
    {
        return [
            'Rjkip\SculpinRstBundle\RjkipSculpinRstBundle',
        ];
    }
}
  • Install it by running sculpin update rjkip/sculpin-rst-bundle.
  • Create a .rst page or blog post and start writing!