#NEWLINE# def run( self ) : #NEWLINE# #INDENT# env = self . state . document . settings . env #NEWLINE# rawdocs = '\n' . join ( self . text ( ) ) #NEWLINE# source = self . state_machine . input_lines . source ( ( ( self . lineno - self . state_machine . input_offset ) - 1 ) ) #NEWLINE# encoding = self . options . get ( 'encoding' , self . state . document . settings . input_encoding ) #NEWLINE# tab_width = self . options . get ( 'tab-width' , self . state . document . settings . tab_width ) #NEWLINE# if ( 'literal' in self . options ) : #NEWLINE# #INDENT# if ( tab_width >= 0 ) : #NEWLINE# #INDENT# text = rawtext . expandtabs ( tab_width ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# text = rawtext #NEWLINE# #UNINDENT# literal_block = nodes . literal_block ( rawtext , text , source = path ) #NEWLINE# literal_block . line = 1 #NEWLINE# return [ literal_block ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# include_lines = statemachine . string2lines ( rawdocs , tab_width , convert_whitespace = 1 ) #NEWLINE# self . state_machine . insert_input ( include_lines , targetid ) #NEWLINE# return [ ]