framework/extensions/markdown/bootstrap.php

19 lines
394 B
PHP
Raw Normal View History

2015-07-23 20:35:03 +09:30
<?php
2015-09-04 12:31:41 +09:30
/*
* 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-02 22:40:54 +01:00
use Flarum\Extend;
use s9e\TextFormatter\Configurator;
2015-07-23 20:35:03 +09:30
2018-06-17 15:00:42 +09:30
return (new Extend\Formatter)
->configure(function (Configurator $config) {
2018-01-02 22:40:54 +01:00
$config->Litedown;
2018-06-17 15:00:42 +09:30
});