Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit c7e12b2

Browse files
committed
Update Markdown.php
1 parent 806eef3 commit c7e12b2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/UIKit/Elements/Compound/Markdown.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
class Markdown extends HtmlElement
1616
{
17-
// private $markdown = '';
18-
1917
private $config = [
2018
'html_input' => 'strip',
2119
'allow_unsafe_links' => false,
@@ -33,15 +31,5 @@ public function unfold(): string
3331
{
3432
return Shoop::markdown($this->markdown)
3533
->html([], [], true, true, $this->config);
36-
// // Obtain a pre-configured Environment with all the standard CommonMark parsers/renderers ready-to-go
37-
// $environment = Environment::createCommonMarkEnvironment();
38-
39-
// // Add this extension
40-
// $environment->addExtension(new TableExtension());
41-
42-
// // Instantiate the converter engine and start converting some Markdown!
43-
// $converter = new Converter(new DocParser($environment), new HtmlRenderer($environment));
44-
45-
// return $converter->convertToHtml($this->markdown);
4634
}
4735
}

0 commit comments

Comments
 (0)