aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-08-27 15:25:18 +0200
committerArthurHoaro <arthur@hoa.ro>2020-10-13 12:20:34 +0200
commit8fabcd0224b1122a48b495326854bb3562cd2e9d (patch)
treeb4236f5f7fd9fbd35b33b8e3a55624b380c914e7 /application/front
parent84045ffbb10c9d312b51dad972bae973c11aad3c (diff)
downloadShaarli-8fabcd0224b1122a48b495326854bb3562cd2e9d.tar.gz
Shaarli-8fabcd0224b1122a48b495326854bb3562cd2e9d.tar.zst
Shaarli-8fabcd0224b1122a48b495326854bb3562cd2e9d.zip
Add Markdown Extra formatter
Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169
Diffstat (limited to 'application/front')
-rw-r--r--application/front/controller/admin/ConfigureController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/front/controller/admin/ConfigureController.php b/application/front/controller/admin/ConfigureController.php
index e675fcca..0ed7ad81 100644
--- a/application/front/controller/admin/ConfigureController.php
+++ b/application/front/controller/admin/ConfigureController.php
@@ -30,7 +30,7 @@ class ConfigureController extends ShaarliAdminController
30 'theme_available', 30 'theme_available',
31 ThemeUtils::getThemes($this->container->conf->get('resource.raintpl_tpl')) 31 ThemeUtils::getThemes($this->container->conf->get('resource.raintpl_tpl'))
32 ); 32 );
33 $this->assignView('formatter_available', ['default', 'markdown']); 33 $this->assignView('formatter_available', ['default', 'markdown', 'markdownExtra']);
34 list($continents, $cities) = generateTimeZoneData( 34 list($continents, $cities) = generateTimeZoneData(
35 timezone_identifiers_list(), 35 timezone_identifiers_list(),
36 $this->container->conf->get('general.timezone') 36 $this->container->conf->get('general.timezone')