diff --git a/README.md b/README.md index 970e052..9eca57f 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ $environment = Environment::createCommonMarkEnvironment(); $environment->addExtension(new AutolinkExtension()); // Instantiate the converter engine and start converting some Markdown! -$converter = new CommonMarkConverter($config, $environment); +$converter = new CommonMarkConverter([], $environment); echo $converter->convertToHtml('I successfully instead the https://github.com/thephpleague/commonmark-ext-autolink extension!'); ```