Skip to content

Linking to anchors in the documentation #80

Closed
@madx

Description

@madx

I can't link to an anchor on the same documentation page. Here's and example of what I'm trying to achieve

/**
 * This is the documentation for my class.
 * 
 * [A link to another part of this documentation](#title)
 * 
 * [...]
 *
 * ## Title
 */
export default class Foo {}

The markdown parser correctly generates <h2 id="title">Title</h2> but the link to this anchor is made against the root of the documentation (<a href="/#title">).

Maybe there's an option for selecting the kind of links to generate? (Absolute or relative)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions