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

Self-referential/Intradoc anchors don't work #22

Open
DamonStamper opened this issue Mar 27, 2017 · 3 comments
Open

Self-referential/Intradoc anchors don't work #22

DamonStamper opened this issue Mar 27, 2017 · 3 comments

Comments

@DamonStamper
Copy link

Steps to reproduce:

  1. Create a markdown file with contents below
  2. Click on "Displaytext"
  3. Scratch head at why it isn't working :)

What should happen:

The reader should be directed to the anchor.

What actually happens:

Redirect does not occur.

md content

[Displaytext](#anchor-to-link-to)
*insert however many lines of Lorem Ipsum is needed to make the linked to anchor not visible on your screen*
# Anchor To Link To
*more Lorem Ipsum to make the page change obvious*

@DamonStamper DamonStamper changed the title Self-referential\Intradoc anchors don't work Self-referential/Intradoc anchors don't work Mar 27, 2017
@yaniswang
Copy link
Owner

markdownReader not define anchor by name, just used self increasing No.

@DamonStamper
Copy link
Author

Any possibility of adding support for named anchors?

Doing so would go a long way to "self documenting"/ "easier to understand and therefore modify and maintain" documentation.

@yaniswang
Copy link
Owner

Named anchors may duplicateed.

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

2 participants