Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown Heading elements should have anchors #99

Open
carlbennett opened this issue Aug 1, 2021 · 1 comment
Open

Markdown Heading elements should have anchors #99

carlbennett opened this issue Aug 1, 2021 · 1 comment

Comments

@carlbennett
Copy link
Member

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.

@carlbennett
Copy link
Member Author

Original request from Discord:
image

@carlbennett carlbennett added this to Backlog in BNETDocs: Phoenix Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant