parameters: (self, filename, settings)
return_statement: return content
docstring: Extract the file contents for display.
docstring_summary: Extract the file contents for display.
docstring_tokens: Extract the file contents for display .
function: def extractContent(self, filename, settings):
          """Extract the file contents for display."""
          if any([settings['block'], settings['remove']]):
              hit = self.extractInputBlocks(filename, settings['block'] or '')
              content = self.removeInputBlocks(hit, settings['remove'] or '')
          else:
              content = common.read(filename)
  
          content, _ = common.extractContent(content, settings)
          return content
function_tokens: def extractContent ( self , filename , settings ) : if any ( [ settings [ 'block' ] , settings [ 'remove' ] ] ) : hit = self . extractInputBlocks ( filename , settings [ 'block' ] or '' ) content = self . removeInputBlocks ( hit , settings [ 'remove' ] or '' ) else : content = common . read ( filename ) content , _ = common . extractContent ( content , settings ) return content