mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-06-29 02:40:10 +02:00
Merge pull request #11 from xaav/patch-1
Edited README.markdown via GitHub
This commit is contained in:
commit
fc9b2b0714
|
@ -10,7 +10,7 @@ Put MarkdownBundle in your `src/Bundle` dir.
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
// Use the service
|
// Use the service
|
||||||
$html = $this->container->get('markdownParser')->transform($text);
|
$html = $this->container->get('markdown.parser')->transform($text);
|
||||||
|
|
||||||
// Use the helper
|
// Use the helper
|
||||||
echo $view['markdown']->transform($text);
|
echo $view['markdown']->transform($text);
|
||||||
|
|
Loading…
Reference in a new issue