mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
Use new extenders for bootstrapping
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Flarum\Markdown\Listener;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
use Flarum\Extend;
|
||||
use s9e\TextFormatter\Configurator;
|
||||
|
||||
return function (Dispatcher $events) {
|
||||
$events->subscribe(Listener\FormatMarkdown::class);
|
||||
};
|
||||
return [
|
||||
new Extend\FormatterConfiguration(function (Configurator $config) {
|
||||
$config->Litedown;
|
||||
}),
|
||||
];
|
||||
|
Reference in New Issue
Block a user