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

Support for 'explicit anchors' in autocomplete links #1465

Open
sg-chris opened this issue Sep 24, 2024 · 0 comments
Open

Support for 'explicit anchors' in autocomplete links #1465

sg-chris opened this issue Sep 24, 2024 · 0 comments

Comments

@sg-chris
Copy link

sg-chris commented Sep 24, 2024

Proposal

It would be awesome if 'Markdown All in One' could optionally support markdown headings that include 'explicit anchors' as part of its auto-complete.

I'm writing documentation using Docusaurus which contains 'explicit anchors' - https://docusaurus.io/docs/markdown-features/toc#heading-ids

For example, a link to this heading:

### Hello World {#my-explicit-id}

might look like this:

[Link](../path/to/file.mdx#my-explicit-id)

Other information

In my scenario, I'm writing API documentation which includes, methods + arguments and returns as headings and so these create 'ugly' anchors without using the explicit anchors.

So, rather than seeing this list of very long anchors, you'd see a list with the explicit anchors.

Screenshot 2024-09-24 at 18 05 45

Thanks 🙏

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

No branches or pull requests

1 participant