From 00f63e17c112ddb4f48b404cb99119e69ba62e7f Mon Sep 17 00:00:00 2001 From: hash2os Date: Fri, 25 Feb 2011 22:51:43 +0800 Subject: [PATCH] Update doc --- README.markdown | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 67ee901..70c8b33 100644 --- a/README.markdown +++ b/README.markdown @@ -5,18 +5,20 @@ Provide markdown conversion to your Symfony2 projects. 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 + knplabs_markdown: + parser: ~ # Enable the parser service + helper: ~ # Enable the helper in the templates Optionnally enable the twig markdown filter : - twig.config: ~ # Enable Twig - markdown.twig: ~ # Enable the markdown filter + twig: ~ # Enable Twig + knplabs_markdown: + twig: ~ # Enable the markdown filter You can also define your own Parser class : - markdown.parser: + knplabs_markdown: + parser: class: Bundle\HelloBundle\MarkdownParser ## USAGE