File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
packages/guides-markdown/src/Markdown
tests/Integration/tests/markdown/url-embedded-md Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1414namespace phpDocumentor \Guides \Markdown ;
1515
1616use League \CommonMark \Environment \Environment as CommonMarkEnvironment ;
17+ use League \CommonMark \Extension \Autolink \AutolinkExtension ;
1718use League \CommonMark \Extension \CommonMark \CommonMarkCoreExtension ;
1819use League \CommonMark \Node \Block \Document ;
1920use League \CommonMark \Node \NodeWalker ;
@@ -45,6 +46,7 @@ public function __construct(
4546 ) {
4647 $ cmEnvironment = new CommonMarkEnvironment (['html_input ' => 'strip ' ]);
4748 $ cmEnvironment ->addExtension (new CommonMarkCoreExtension ());
49+ $ cmEnvironment ->addExtension (new AutolinkExtension ());
4850 $ this ->markdownParser = new MarkdownParser ($ cmEnvironment );
4951 }
5052
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ <h1>Sample Markdown Document</h1>
55 < p > See < a href ="https://www.example.com "> https://www.example.com</ a > for additional information.</ p >
66
77
8- < p > See also < a href ="https://www.example.com/more "> https://www.example.com/more</ a > .</ p >
8+ < p > See also < a href ="https://www.example.com/more "> https://www.example.com/more</ a > .</ p >
99
1010</ div >
1111<!-- content end -->
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments