如果您的页面是/projects/demo/wiki/testpage:[[testpage#heading1|link text]] 将生成<a class="wiki-page" href="#heading1">link text</a>