Make it easier to create anchor links to sub-sections of an article

19 Comments

  • Jonathan March
    Comment actions Permalink

    +99. I think there's already a request for this somewhere, and I know that ZD is aware of the issue.

    1
  • Winston Christie-Blick
    Comment actions Permalink

    That's good Jonathan, I couldn't find one but I'm not surprised it's come up before

    1
  • Ben Everist
    Comment actions Permalink

    Any update from Zendesk around this ability?

    3
  • Sean Faulkner
    Comment actions Permalink

    I, too, would like to know if this feature will be released soon.

    0
  • Vladan Jovic
    Comment actions Permalink

     

    are you looking for something like this https://support.teachable.com/hc/en-us/articles/219891027

    (try Jump Ahead box)

    1
  • Niclas Kårlin
    Comment actions Permalink

    Would be helpful when linking to information in other articles in Zendesk.

    It is easier to show where to read if you can link to the chapter directly.

    0
  • Ryan McGrew
    Comment actions Permalink

    Hi All,

    I appreciate the feedback. We've got requests around anchors and tables of contents for the Editor. I've recently taken over the Article Editor and I've tried to prioritize small scale improvements to the Editor every quarter. For example, we just released Headings and Video Embedding for videos. I will take this request around anchors and tables of contents into account as we continue to make improvements in the coming quarters. The next feature we have in the queue for implementation of the editor is linking between articles. I don't have a timeline for when we'll get to this feature yet but we are looking to make overall improvements every quarter.

    Thanks!

    2
  • Niclas Kårlin
    Comment actions Permalink

    Excellent! Another easy win would be the code block and code span, which are already available in the ticket editor.

    Why can't you simply use the same editor?

    0
  • Shirley Frid
    Comment actions Permalink

    Any news about this one? I really hope so.. struggling with putting in anchor points to the messy code window.. could be so much easier. 

     

    0
  • Mike Hamilton
    Comment actions Permalink

    +1 this feature. Need to be able to make Table of Contents in articles. Atlassian Confluence pretty much can create these automatically. 

     

    0
  • Nicole - Community Manager
    Comment actions Permalink

    Thanks for adding your voice, Mike.

    0
  • Ryan McGrew
    Comment actions Permalink

    Hey All,

    We've just released 2 updates to linking in the article editor. Firstly, you'll be able to link to any heading within a document. Just select the text you want to link, click the link icon and click Headings. You can then select any heading in the document to link to. You'll also be able to link to any anchor tag with a name attribute.

    Secondly, we've made it easier to link to other articles. If you go to the Help Center articles tab, you'll be able to search for and link to other articles in the same Help Center

    It's not an auto-generated table of contents, but that's something we'll keep as feedback and will look at ways we can potentially add it. 

    Thanks!

    1
  • Karlina Hendra
    Comment actions Permalink

    Hi Ryan,

    Love the update!! Just one feedback, it seems like the link takes you straight to the content and doesn't include the headings. For example:

    It would be great if it could be made to something like this

    Cheers,

    Karlina

    1
  • Ryan McGrew
    Comment actions Permalink

    Hey Karlina,

    Not sure I'm following 100% from the screenshots. But I think you're saying you've got a link the "Performance Status" heading at the top of the document, and when you click it the browser actually scrolls past the "Performance Status" heading to the content below it in the document. This is browser behavior and is partly dependent on the height of the browser window. So different user may have a different experience. For example, here's a screenshot of it on my machine and "Performance Status" is visible.

    Let me know if I misunderstood your post. Thanks!

    0
  • Karlina Hendra
    Comment actions Permalink

    Hi Ryan,

    Thank you for the speedy update. 

    You are right!! I've tried adjusting the height and all seems good now.

     

    0
  • Owen
    Comment actions Permalink

    Hello,

    While I appreciate the updates, the original use case of this post has not been addressed.

    Essentially what should happen is, every time you create a heading (h1, h2, etc.) in an article, it should immediately be assigned a corresponding anchor. So if my heading reads "Get Started" a link should be created for subdomain.zendesk.com/hc/en-us/articles/article-name/get-started/

    GitHub does this really well for their README.md files, every heading that you create receives a corresponding anchor tag.

    Thanks for reading!

    0
  • Rich Andersen
    Comment actions Permalink

    Hi everyone,

    Is there a way to link to a heading in a different article?

    I'm happy to enter the code myself, but I don't know how.

    Cheers,

    0
  • Sebastiaan Wijchers
    Comment actions Permalink

    Hello Rich,

    That's possible! 

    It's basically (https://your.domain.com)/path/to/article#header-id. So to get that URL you could do this:

    The description below assumes that you also have internal links to the headers in the article. If that's not the case skip it and continue in the P.S.

    First look in the target article, what the link to the header is. It will be something like #h_4b03f065-174e-4006-bd66-e9d6817248f4.

    Now go to the source article, create a link to the target article. Then switch to the URL tab again. It will show something like /hc/en-us/articles/360003861679

    Now combine the two like this /hc/en-us/articles/360003861679#h_4b03f065-174e-4006-bd66-e9d6817248f4.

    With kind regards,

    Sebastiaan
    Sparkly ⭐

    P.S.

    In case you don't have internal links in the article, Zendesk didn't create the ID for you. In that case you can add one manually, by editing the source code:Now find the header and add an ID:

    Now you can use this id in your URL /hc/en-us/articles/360003861679#alderaan.

    1
  • Rich Andersen
    Comment actions Permalink

    Thanks Sebastiaan,

    That is so helpful. Much appreciated.

    Cheers,

    0

Please sign in to leave a comment.

Powered by Zendesk