Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Commit

Permalink
Fix broken example
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Mar 15, 2019
1 parent 721a1ec commit 76b29bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
```

Expand Down

0 comments on commit 76b29bc

Please sign in to comment.