code: def hash_inline_links(text, hashes, markdown_obj):
      
      def sub(match):
          is_img = match.group(1) != ''
          content = match.group(2)
          link = match.group(3)
          title = match.group(5)
          if title:
              title = ' title="{0}"'.format(title.strip())
          else:
              title = ''
          if is_img:
              result = '<img src="{0}" alt="{1}"{2}>'.format(
                      link, content, title)
          else:
              result = '<a href="{0}"{2}>{1}</a>'.format(link,
                      markdown_obj.convert(content).replace('<p>', '').replace('</p>', ''),
                      title)
          hashed = hash_text(result, 'link')
          hashes[hashed] = result
          return hashed
      return re_inline_link.sub(sub, text)
docs: Hashes an <a> link or an <img> link.
  
      This function only converts inline link styles:
  
          [text here](path/to/resource "optional title")
          ![alt text here](path/to/resource "optional title")
  
      For reference style links, see hash_reference_links