title: Convert Markdown links to HTML with Pandoc
body: <p>In my new project I have multiple Markdown files which are linked to each other. These links refer to the original <code>.md</code> files.</p>
  <p><strong>Example:</strong></p>
  <p>File <em>README.md</em></p>
  <pre><code>...
  1. [Development documentation](Development.md)
  1. [User documentation](Usage.md)
  ...
  </code></pre>
  <p>If I convert these files with Pandoc, e.g., to HTML files, all links are still pointing to the original <code>.md</code> file. I'm looking for a way to also convert the link type, which means that output files should refer to the output file type such as HTML, PDF, <a href="https://en.wikipedia.org/wiki/TeX" rel="nofollow noreferrer">TeX</a>, etc. Is there a way to convert the internal link type with Pandoc?</p>
  <p>I use this to convert the files:</p>
  <pre><code>pandoc -f markdown -t html5 input.md -o output.html
  </code></pre>