A link icon should appear, it's href should be current page + # + the header id. See e.g. [github](https://github.com/ModellingWebLab/WebLab), which has this functionality for markdown files