added parsedown extension for header ids (#388) (#399)

This commit is contained in:
Lukas
2018-11-18 20:31:37 +01:00
committed by Kevin Papst
parent b1c06eed7b
commit 321ac74b6a
13 changed files with 119 additions and 17 deletions

View File

@@ -9,8 +9,6 @@
namespace App\Utils;
use Parsedown as MarkdownParser;
/**
* A simple class to parse markdown syntax and return HTML.
*/
@@ -26,7 +24,7 @@ class Markdown
*/
public function __construct()
{
$this->parser = new MarkdownParser();
$this->parser = new ParsedownExtension();
}
/**