Go to file
Matthieu Bontemps 9c8f1aa9a3 Fix readme
2010-09-12 13:25:50 +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 Fix tag in helper.xml 2010-09-12 12:22:28 +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 Upgrade MarkdownBundle to latest Symfony2 style 2010-08-11 11:21:17 +02:00
README.markdown Fix readme 2010-09-12 13:25:50 +02:00

Provide markdown conversion to your Symfony2 projects.

INSTALLATION

Put MarkdownBundle in your src/Bundle dir.

Then enable it in your config.yml:

markdown.parser: ~      # Enable the parser service
markdown.helper: ~      # Enable the helper in the 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