Skip to content

Unable to link to element on the same markdown page #1668

@mohammedsahl

Description

@mohammedsahl

🐞 Bug report

Description

I'm not sure if this is a bug or it outright isn't supported but given a markdown file, a <a id="foo"></a> somewhere within the file and a [Text](#foo), clicking on the hyperlink doesn't jump to the

🔬 Minimal Reproduction

I've set up an example repository. The md file of importance is first-post.md. The hyperlinks are at the very top of the file. The anchor I'm trying to link to is at the very bottom

💻Your Environment

Angular Version:




     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 13.0.3
Node: 18.16.1 (Unsupported)
Package Manager: npm 9.5.1
OS: darwin x64

Angular: 13.0.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.3
@angular-devkit/build-angular   13.0.3
@angular-devkit/core            13.0.3
@angular-devkit/schematics      13.0.3
@angular/cli                    13.0.3
@schematics/angular             13.0.3
rxjs                            7.4.0
typescript                      4.4.4

Scully Version:




    "@scullyio/init": "^2.0.5",
    "@scullyio/ng-lib": "^2.0.0",
    "@scullyio/scully": "^2.0.0",
    "@scullyio/scully-plugin-puppeteer": "^2.0.0",

🔥 Exception or Error




Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions