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

Feature Request: Allow child anchor hash id references links when constructing markdown-menu #6

Closed
alexdiliberto opened this issue Jun 28, 2018 · 0 comments · Fixed by #8

Comments

@alexdiliberto
Copy link
Contributor

Basically, looking for a way to have the markdown-menu component optionally contain child references to a list of local anchor link within a file

So, given the following /app/guides/test.md

[services](#services) | [contact us](#contact_form)

... some text

### <a id="services"></a>Our Services

... some text

### <a id="contact_form"></a>Contact Form

This could build a markdown-menu with the following structure

Test
	Our Services
	Contact Form

Now on the /test route, the user can click "Our Services" and be taken to /test#services or click the "Contact Form" link and be taken to /test#contact_form

Currently looking into what would be required to make this possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant