From 90230e71f828459f03a25424d5dcf525c2ef5567 Mon Sep 17 00:00:00 2001 From: brendt Date: Fri, 15 Mar 2024 10:43:41 +0000 Subject: [PATCH] Fixes styling. --- tests/HighlightCodeBlockRendererTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/HighlightCodeBlockRendererTest.php b/tests/HighlightCodeBlockRendererTest.php index fd66501..854e585 100644 --- a/tests/HighlightCodeBlockRendererTest.php +++ b/tests/HighlightCodeBlockRendererTest.php @@ -1,5 +1,7 @@ addExtension(new CommonMarkCoreExtension()) ->addExtension(new FrontMatterExtension()) - ->addRenderer(FencedCode::class, new \Tempest\Highlight\CommonMark\HighlightCodeBlockRenderer()); + ->addRenderer(FencedCode::class, new HighlightCodeBlockRenderer()); $markdown = new MarkdownConverter($environment); - + $parsed = $markdown->convert("```php class Foo {} ```");