Skip to content

Anchors not working on single HTML pages

Problem

Markdown Links containing anchors are not working on *-page.mds. Links like: [I am an anchor](#ref) are parsed to <a href="#/ref">I am an anchor</a> which does not link on single html pages.

Reproduction

  1. Create a my-page.md
  2. Copy & Paste:
[I am an anchor](#ref) is parsed to <a href="#/ref">I am not working</a> correct would be <a href="#ref">I am working</a>

## Ref

Decker version

decker version 0.10.0 (branch: master, commit: 02b22a46c00dabd8aabb13246178f69ee58f8982, tag: undefined, build date: 2020-11-09)
pandoc version 2.9.1.1
pandoc-types version 1.20
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information