protected function enableParsedown(Spress $spress)
    {
        $spress->extend('spress.cms.converterManager.converters', function ($predefinedConverters, $c) {
            unset($predefinedConverters['MichelfMarkdownConverter']);

            $markdownExts = $c['spress.config.values']['markdown_ext'];
            $predefinedConverters['ParsedownConverter'] = new ParsedownConverter($markdownExts);

            return $predefinedConverters;
        });
    }
protected function enableParsedown(Spress $spress)
    {
        $spress->extend('spress.cms.converterManager.converters', function ($predefinedConverters, $c) {
            unset($predefinedConverters['MichelfMarkdownConverter']);

            $markdownExts = $c['spress.config.values']['markdown_ext'];
            $predefinedConverters['ParsedownConverter'] = new ParsedownConverter($markdownExts);

            return $predefinedConverters;
        });
    }
protected function enableParsedown ( Spress $ spress ) { $ spress -> extend ( 'spress.cms.converterManager.converters' , function ( $ predefinedConverters , $ c ) { unset ( $ predefinedConverters [ 'MichelfMarkdownConverter' ] ) ; $ markdownExts = $ c [ 'spress.config.values' ] [ 'markdown_ext' ] ; $ predefinedConverters [ 'ParsedownConverter' ] = new ParsedownConverter ( $ markdownExts ) ; return $ predefinedConverters ; } ) ; }
Enables Parsedown converter.

@param Spress $spress The Spress instance
Enables Parsedown converter .