Re: Internal links

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Internal-links-tp217p480.html

This feature is currently not supported, but I certainly think it is worth exploring. One way to implement this is to try to lookup "My Section" as an id (or perhaps because it has a space we already know it can't be an id), then run the id generator logic on it and look it up again and see if that matches.

Could you file this as an issue?

Cheers,

-Dan


On Tue, May 21, 2013 at 11:03 PM, Chrstphd [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi everyone,

I would create a link from a word to a section.

I have this text:
A sentence with <<my-section, a link>>.

...

[[my-section]]
=== My Section

I found that I can write
A sentence with <<_my_section,a link>>.

...

=== My Section

But can we write something like

A sentence with <<My Section,a link>>.
or
A sentence with <<My Section>>.

Thanks!
Christophe.



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Internal-links-tp217.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | http://google.com/profiles/dan.j.allen