#NEWLINE# def __init__( self , index , extensions = None , extension_configs = None ) : #NEWLINE# #INDENT# if ( not markdown ) : #NEWLINE# #INDENT# raise ImportError ( "Markdown filter requires the 'markdown' package to be installed." ) #NEWLINE# #UNINDENT# super ( Markdown , self ) . __init__ ( index ) #NEWLINE# self . converter = markdown . Markdown ( extensions = ( extensions or [ ] ) , extension_configs = ( extension_configs or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) . convert