rodes/markdown-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Adds support for parsedown and parsedown-extra in Symfony by providing services and Twig filters. Adds auto generated documentation for your bundles.

v1.0.3 2017-01-17 17:27 UTC

This package is not auto-updated.

Last update: 2021-04-03 12:24:52 UTC


README

  • Adds auto generated documentation for your bundles.
  • Adds support for parsedown and parsedown-extra in Symfony by providing services and Twig filters.

Install

Add the bundle to your composer.json

composer require --dev rodes/markdown-bundle:^1.0 && composer install

Add to app/AppKernel.php (for dev environment if you want)

$bundles[] = new Rodes\Bundle\MarkdownBundle\RodesMarkdownBundle();

Add to app/config/routing_dev.yml

rodes_markdown:
    resource: "@RodesMarkdownBundle/Controller/"
    type:     annotation
    prefix:   /my-company/doc

Test the markdown doc

http://dev.www.my-site.fr/app_dev.php/my-company/doc/markdown
http://dev.www.my-site.fr/app_dev.php/my-company/doc/markdown/RodesMarkdownBundle/markdown/example.md