summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MyParsedown.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/MyParsedown.php b/lib/MyParsedown.php
index 11e86d6..cd537bc 100644
--- a/lib/MyParsedown.php
+++ b/lib/MyParsedown.php
@@ -1,13 +1,16 @@
<?php
-use sixlive\ParsedownHighlight;
-
-class MyParsedown extends ParsedownHighlight {
+class MyParsedown extends ParsedownExtended {
public function __construct(
protected bool $useImagePreviews = false
) {
- parent::__construct();
+ parent::__construct([
+ 'tables' => [
+ 'tablespan' => true
+ ]
+ ]);
+
$this->InlineTypes['{'][] = 'FileAttach';
$this->InlineTypes['{'][] = 'Image';
$this->InlineTypes['{'][] = 'Video';