Fix: '.md' to '.html' with anchors (fixes #1415)

Unsure about this, seems more complicated than necessary. Why not just:

```js
/\.md(.*)\)/g, ".html$1"
```