Open Hi-ImKyle opened 2 hours ago
The docs say the way to set the alert types is to do the following
$ParsedownExtended->config()->set('alerts', [ 'types' => ['note', 'warning', 'custom-type'] ]);
That doesn't work, but the following does
$ParsedownExtended->config()->set('alerts.types', ['note', 'warning', 'custom-type']);
8.2.12
1.7.4
No response
Suppose I should specify the docs page that is wrong is here. https://benjaminhoegh.github.io/ParsedownExtended/Configuration/Alerts#customize-alert-types
Bug Description
The docs say the way to set the alert types is to do the following
That doesn't work, but the following does
PHP Version
8.2.12
Parsedown Version
1.7.4
Parsedown Extra Version
No response
Code of Conduct