25 lines
531 B
PHP
25 lines
531 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|