app/Entities/Tools/Markdown/HtmlToMarkdown.php
Method getConverterEnvironment
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getConverterEnvironment(): Environment
{
$environment = new Environment([
'header_style' => 'atx', // Set to 'atx' to output H1 and H2 headers as # Header1 and ## Header2
'suppress_errors' => true, // Set to false to show warnings when loading malformed HTML