aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/formatter/BookmarkMarkdownExtraFormatter.php
blob: da539bfd52df41fe943776d375b45fdec9f66bef (plain) (tree)
1
2
3
4
5
6




                                 
                                                      














                                                                      
                                                       

     
<?php

namespace Shaarli\Formatter;

use Shaarli\Config\ConfigManager;
use Shaarli\Formatter\Parsedown\ShaarliParsedownExtra;

/**
 * Class BookmarkMarkdownExtraFormatter
 *
 * Format bookmark description into MarkdownExtra format.
 *
 * @see https://michelf.ca/projects/php-markdown/extra/
 *
 * @package Shaarli\Formatter
 */
class BookmarkMarkdownExtraFormatter extends BookmarkMarkdownFormatter
{
    public function __construct(ConfigManager $conf, bool $isLoggedIn)
    {
        parent::__construct($conf, $isLoggedIn);
        $this->parsedown = new ShaarliParsedownExtra();
    }
}