Go to file
2010-09-19 09:03:06 +02:00
DependencyInjection Rename Symfony\Components to Symfony\Component 2010-08-23 23:07:39 +02:00
Helper Rename Symfony\Components to Symfony\Component 2010-08-23 23:07:39 +02:00
Parser Improve doc and comments 2010-07-22 12:06:54 +02:00
Resources/config updated to the last Symfony2 style 2010-09-19 09:03:06 +02:00
Tests Cleanup tests 2010-07-22 11:22:36 +02:00
vendor/parser Improve doc and comments 2010-07-22 12:06:54 +02:00
.gitignore Initial commit 2010-05-05 17:11:02 +02:00
LICENSE Initial commit 2010-05-05 17:11:02 +02:00
MarkdownBundle.php updated to the last Symfony2 style 2010-09-19 09:03:06 +02:00
README.markdown Improve doc and comments 2010-07-22 12:06:54 +02:00

Provide markdown to Symfony 2 projects.

INSTALLATION

Put MarkdownBundle to your src/Bundle dir.

Then, enable it in your config.yml:

markdown.parser: ~      # Enable the parser service
markdown.helper: ~      # Enable the helper for use in templates

USAGE

// Use the service
$html = $this->container->markdownParser->transform($text);

// Use the helper
echo $view->markdown->transform($text);

TEST

phpunit -c myapp src/Bundle/MarkdownBundle