code: def glossary(
              self,
              term,
              definition):
          
          term = term.strip()
          term = term.lower()
          title = term.title()
          definition = definition.strip()
          regex = re.compile(r'\n(\S)')
          definition = regex.sub("\n    \g<1>", definition)
  
          return "[^%(term)s]\n\n[^%(term)s]: %(title)s\n    %(definition)s" % locals()
docs: *genarate a MMD glossary*
  
          **Key Arguments:**
              - ``term`` -- the term to add as a glossary item
              - ``definition`` -- the definition of the glossary term
  
          **Return:**
              - ``glossary`` -- the glossary text
  
          **Usage:**
  
              To genarate a glossary item:
  
              .. code-block:: python
  
                  text = \"\"\"Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
                  Also the makers of really great products.\"\"\"
  
                  definition = md.glossary("Apple", text)
                  print definition
  
                  # OUTPUT: 
                  # [^apple]
                  #
                  # [^apple]: Apple
                  #    Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
                  #    Also the makers of really great products.