parameters: ( self, content )
return_statement: return self.markups
docstring: process a block content and return a list of DocMarkup objects
             corresponding to it
docstring_summary: process a block content and return a list of DocMarkup objects
             corresponding to it
docstring_tokens: process a block content and return a list of DocMarkup objects corresponding to it
function: def  process_content( self, content ):
          """process a block content and return a list of DocMarkup objects
             corresponding to it"""
          markup       = None
          markup_lines = []
          first        = 1
  
          for line in content:
              found = None
              for t in re_markup_tags:
                  m = t.match( line )
                  if m:
                      found  = string.lower( m.group( 1 ) )
                      prefix = len( m.group( 0 ) )
                      line   = " " * prefix + line[prefix:]   # remove markup from line
                      break
  
              # is it the start of a new markup section ?
              if found:
                  first = 0
                  self.add_markup()  # add current markup content
                  self.markup = found
                  if len( string.strip( line ) ) > 0:
                      self.markup_lines.append( line )
              elif first == 0:
                  self.markup_lines.append( line )
  
          self.add_markup()
  
          return self.markups
function_tokens: def process_content ( self , content ) : markup = None markup_lines = [ ] first = 1 for line in content : found = None for t in re_markup_tags : m = t . match ( line ) if m : found = string . lower ( m . group ( 1 ) ) prefix = len ( m . group ( 0 ) ) line = " " * prefix + line [ prefix : ] # remove markup from line break # is it the start of a new markup section ? if found : first = 0 self . add_markup ( ) # add current markup content self . markup = found if len ( string . strip ( line ) ) > 0 : self . markup_lines . append ( line ) elif first == 0 : self . markup_lines . append ( line ) self . add_markup ( ) return self . markups