fix #12 for markdown links as well

If we fix a few more issues with replanadu it will be good to go.