-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can we have chapter links in adoc? #3
Comments
I think you're looking for http://asciidoctor.org/docs/user-manual/#internal-cross-references . There might be some more work to expand upon this though. |
Yeah, I tried using that, but it doesn't seem to do what I wanted.
trying to reference a chapter name in
But it links me back to the top of the document instead. I probably didn't do it right. |
Yeah, I tried using that, but it doesn't seem to do what I wanted.
That's odd.
I guess I'll have to experiement around with that feature a bit since I
haven't use those sorts of internal-links within asciidoc before.
|
https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#links By default, most "cross references" are actually cross references within the same .adoc file. To cross reference to another adoc file's section, you need to be using Asciidoctor. To make this work, we'd need to create an anchor link to the section in Settings.adoc :) |
I am wondering how can or should we handle self-linking.
Say we briefly mention Macro Learn in a chapter about user interface - it'd be good to add a reference linking to the chapter devoted to Macro Learn if the user wants to go there.
I think that ideal references would work in two ways:
Provide textual information that the user can process and execute himself ("More in chapter 8.3") and provide a hypertext link that will let him jump there immediately or open the relevant chapter in a new browser tab.
I don't know how can we do this in Asciidoc. Any ideas?
The text was updated successfully, but these errors were encountered: