code: def finish_section(section, name):
      '''finish_section will add the header to a section, to finish the recipe
         take a custom command or list and return a section.
  
         Parameters
         ==========
         section: the section content, without a header
         name: the name of the section for the header
  
      '''   
      if not isinstance(section, list):
          section = [section]
  
      header = ['%' + name ]
      return header + sectiof finish_section(section, name):
      '''finish_section will add the header to a section, to finish the recipe
         take a custom command or list and return a section.
  
         Parameters
         ==========
         section: the section content, without a header
         name: the name of the section for the header
  
      '''   
      if not isinstance(section, list):
          section = [section]
  
      header = ['%' + name ]
      return header + section
docs: finish_section will add the header to a section, to finish the recipe
         take a custom command or list and return a section.
  
         Parameters
         ==========
         section: the section content, without a header
         name: the name of the section for the header