-
Notifications
You must be signed in to change notification settings - Fork 866
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
Add support for specifying cross references for a specific section or location in a topic #190
Comments
It's already supported. For a heading, you can reference it using its name: # This is a heading
[link](#this-is-a-heading) If you need anchor in other places, use HTML: <a name="this-is-an-anchor"></a>
[link](#this-is-an-anchor) |
Right, but I was specifically referring to cross referencing a location in a separate doc. The |
You can also cross reference in DocFX, like this: <xref:topic_id#anchor_name> |
Ah, that sounds like just what we need. I'll try it out, but it sounds like you guys can close this issue. |
Currently doesn't work, need some fix. |
Hi @danroth27 , |
With the DocFX cross reference support it looks like you can easily define links to different docs in your project, which is great!
We also need to be ability to define cross references to specific places in a doc, like a specific section or a specific label. In Sphinx we use the
:ref:
label-name`` syntax to define these references:We need something similar in DocFX. It would be great if there was even a shorthand for referencing a specific section heading without having to define an explicit label, which is something Sphinx does not have.
The text was updated successfully, but these errors were encountered: