Same problem in Firefox 43.0.4, actually: The TOC itself shows all right, but TOC links only work when you export the file to HTML and open it with the browser. They don't work with "
Preview Markdown in Browser (F6)" (Firefox is my default browser).
The only difference is in the path:
Doesn't really make sense, does it?