File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ template: recent
55
66Lorem ipsum. This is a test. It has [links](https://example.org/) and a [ref link to goats].[^1]
77
8+ | Tables | | |
9+ |--|--|--|
10+ | | work | |
11+ | | | as well. |
12+
813[ref link to goats]: ./tags/goats.html
914
1015[^1]: It can also have footnotes.
Original file line number Diff line number Diff line change 2323use League \CommonMark \Extension \CommonMark \Node \Inline \Image ;
2424use League \CommonMark \Extension \Footnote \FootnoteExtension ;
2525use League \CommonMark \Extension \InlinesOnly \InlinesOnlyExtension ;
26+ use League \CommonMark \Extension \Table \TableExtension ;
2627use League \CommonMark \MarkdownConverter ;
2728use Psr \Cache \CacheItemPoolInterface ;
2829use Samwilson \CommonMarkLatex \LatexRendererExtension ;
@@ -584,6 +585,7 @@ private function getCommonMarkEnvironment(string $format): CommonMarkEnvironment
584585 $ environment ->addExtension (new FootnoteExtension ());
585586 $ environment ->addExtension (new ShortcodeExtension ());
586587 $ environment ->addExtension (new AutolinkExtension ());
588+ $ environment ->addExtension (new TableExtension ());
587589
588590 return $ environment ;
589591 }
You can’t perform that action at this time.
0 commit comments