original_string: 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;
          });
      }
code: 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;
          });
      }
code_tokens: 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 ; } ) ; }
docstring: Enables Parsedown converter.
  
  @param Spress $spress The Spress instance
docstring_tokens: Enables Parsedown converter .