8fabcd0224
Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra) Also sort dependencies alphabetically. Fixes #1169
24 lines
531 B
PHP
24 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();
|
|
}
|
|
}
|