Go to file
2010-07-22 12:06:54 +02:00
DependencyInjection Fix dependency injection 2010-07-19 15:09:01 +02:00
Helper Add helper 2010-05-06 15:17:59 +02:00
Parser Improve doc and comments 2010-07-22 12:06:54 +02:00
Resources/config Include helper parameters and services in parser configuration 2010-06-09 11:26:52 +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 Fix dependency injection 2010-07-19 15:09:01 +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