code: def find_replace(self, node):
      
      if isinstance(node, nodes.reference) and 'refuri' in node:
        r = node['refuri']
        if r.endswith('.md'):
          r = r[:-3] + '.html'
          node['refuri'] = r
        else:
          match = anchor_regex.match(r)
          if match:
            node['refuri'] = '{0:s}.html#{1:s}'.format(
                match.group('uri'), match.group('anchor'))
      return node
docs: Parses URIs containing .md and replaces them with their HTML page.