#NEWLINE# def _set_markdown_extensions( self ) : #NEWLINE# #INDENT# 'Set the extensions for markdown parser' #NEWLINE# markdown_extensions = [ 'fenced_code' ] #NEWLINE# if self . site_config [ 'pygments' ] : #NEWLINE# #INDENT# markdown_extensions . extend ( [ 'extra' , 'codehilite(css_class=hlcode)' , 'toc(title=Table of Contents)' ] ) #NEWLINE# #UNINDENT# return markdown_extensions