framework/extensions/markdown/extend.php

24 lines
493 B
PHP
Raw Normal View History

2015-07-23 19:05:03 +08:00
<?php
2015-09-04 11:01:41 +08:00
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2018-01-03 05:40:54 +08:00
use Flarum\Extend;
use s9e\TextFormatter\Configurator;
2015-07-23 19:05:03 +08:00
return [
(new Extend\Frontend('forum'))
->js(__DIR__.'/js/dist/forum.js'),
(new Extend\Formatter)
->configure(function (Configurator $config) {
$config->Litedown;
})
];