aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/formatter/BookmarkMarkdownExtraFormatter.php
blob: 0694b23fe2e06be1f6233c36342c0e7785eafb3a (plain) (tree)























                                                                      
<?php

namespace Shaarli\Formatter;

use Shaarli\Config\ConfigManager;

/**
 * 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 \ParsedownExtra();
    }
}