diff --git a/doc/filters/html_to_markdown.rst b/doc/filters/html_to_markdown.rst index b60327197..ccafa69e4 100644 --- a/doc/filters/html_to_markdown.rst +++ b/doc/filters/html_to_markdown.rst @@ -46,7 +46,7 @@ You can also use the filter on an included file: Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension explictly on the Twig environment:: - use Twig\Extra\Markdown\MarkdownMarkdownExtension; + use Twig\Extra\Markdown\MarkdownExtension; $twig = new \Twig\Environment(...); $twig->addExtension(new MarkdownExtension()); diff --git a/doc/filters/markdown_to_html.rst b/doc/filters/markdown_to_html.rst index 8e515be80..f5cd2ebca 100644 --- a/doc/filters/markdown_to_html.rst +++ b/doc/filters/markdown_to_html.rst @@ -45,7 +45,7 @@ You can also use the filter on an included file: Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension explictly on the Twig environment:: - use Twig\Extra\Markdown\MarkdownMarkdownExtension; + use Twig\Extra\Markdown\MarkdownExtension; $twig = new \Twig\Environment(...); $twig->addExtension(new MarkdownExtension());