Skip to content

Commit

Permalink
Fix README.md example (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamirault authored May 15, 2024
1 parent 0542c8f commit 8a0cc70
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 @@ -160,7 +160,7 @@ $converter->getConfig()->setOption('use_autolinks', true);
$markdown = $converter->convert($html); // $markdown now contains "<https://thephpleague.com>"

$converter->getConfig()->setOption('use_autolinks', false); // default
$markdown = $converter->convert($html); // $markdown now contains "[https://google.com](https://google.com)"
$markdown = $converter->convert($html); // $markdown now contains "[https://thephpleague.com](https://thephpleague.com)"
```

### Passing custom Environment object
Expand Down

0 comments on commit 8a0cc70

Please sign in to comment.