Skip to content

Markdown Heading elements should have anchors #99

@carlbennett

Description

@carlbennett

Currently, the Parsedown module (which parses markdown into html) does not generate anchors with markdown headings.

The expected behavior is to put an anchor with a name that can be referenced in the browser's url/address bar.

For the input:

# test test

The expected output would be:

<h1><a name="test-test">test test</a></h1>

Or something similar to that effect. The key importance here is the anchors are dynamically generated, so that the user does not have to invent all of the anchors themselves while documenting something into the site.

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