Skip to content

$ref links don't navigate #14

@s4m0r4m4

Description

@s4m0r4m4

the function refLink works fine for HTTP links, but for internal schema references it just makes the link the same as the reference, so you get a bunch of links to things like #/definitions/myDef. When used in a browser or in the VS Code markdown viewer extension, those links don't seem to lead to any defined element in the markup.

I'd like to volunteer to make the following updates:

  1. Put an HTML anchor id on each element under definitions (like <span id="/definitions/myDef"> myDef </span>)
  2. Make sure the hyperlinks point to that id

Reference: https://daveabrock.com/2018/03/04/using-anchor-links-in-markdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions