Portable, rendering-agnostic link?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Portable, rendering-agnostic link?

matthewadams12
Hi all,

I'm trying to link from one doc to another, but in a portable way.  How do I do that?

For example, in a.adoc:

link:foo/b.adoc[B]

That doesn't work when rendering to HTML, because the link remains foo/b.adoc instead of foo/b.html.

Thanks,
Matthew
Reply | Threaded
Open this post in threaded view
|

Re: Portable, rendering-agnostic link?

matthewadams12
Looks like this is an enhancement.  I was pointed to https://github.com/asciidoctor/asciidoctor/issues/417 on the #asciidoc.
Reply | Threaded
Open this post in threaded view
|

Re: Portable, rendering-agnostic link?

mojavelinux
Administrator
Matthew,

I'm glad you brought this issue forward again because it's so important. This is generally a problem which is not well solved anywhere (to my knowledge), so it's a great opportunity for Asciidoctor to get it right.

We'll continue the discussion in the issue.

-Dan


On Thu, Aug 1, 2013 at 7:00 AM, matthewadams12 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Looks like this is an enhancement.  I was pointed to https://github.com/asciidoctor/asciidoctor/issues/417 on the #asciidoc.


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



--
Reply | Threaded
Open this post in threaded view
|

Re: Portable, rendering-agnostic link?

LightGuardjp
Would it be possible to enhance the Document object to return a list of links / modify links? I'm thinking about CMS capibilities here. 

Sent from Mailbox for iPhone


On Thu, Aug 1, 2013 at 7:33 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Matthew,

I'm glad you brought this issue forward again because it's so important. This is generally a problem which is not well solved anywhere (to my knowledge), so it's a great opportunity for Asciidoctor to get it right.

We'll continue the discussion in the issue.

-Dan


On Thu, Aug 1, 2013 at 7:00 AM, matthewadams12 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Looks like this is an enhancement.  I was pointed to https://github.com/asciidoctor/asciidoctor/issues/417 on the #asciidoc.


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



--



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

Reply | Threaded
Open this post in threaded view
|

Re: Portable, rendering-agnostic link?

mojavelinux
Administrator
That's already possible. Asciidoctor keeps a list of references internally, I just haven't mentioned that anywhere. It keeps a list of anchors, links, images, videos, footnotes, index items, etc. The idea eventually was to make these things that could be used in an appendix or sidebar. I also want to implemented a lightweight query mechanism so that information like this can be easily extracted (such as the list of listings or examples).

-Dan


On Thu, Aug 1, 2013 at 7:55 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Would it be possible to enhance the Document object to return a list of links / modify links? I'm thinking about CMS capibilities here. 

Sent from Mailbox for iPhone


On Thu, Aug 1, 2013 at 7:33 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Matthew,

I'm glad you brought this issue forward again because it's so important. This is generally a problem which is not well solved anywhere (to my knowledge), so it's a great opportunity for Asciidoctor to get it right.

We'll continue the discussion in the issue.

-Dan


On Thu, Aug 1, 2013 at 7:00 AM, matthewadams12 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Looks like this is an enhancement.  I was pointed to https://github.com/asciidoctor/asciidoctor/issues/417 on the #asciidoc.


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



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




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



--
Reply | Threaded
Open this post in threaded view
|

Re: Portable, rendering-agnostic link?

LightGuardjp
Awesome

Sent from Mailbox for iPhone


On Thu, Aug 1, 2013 at 8:03 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

That's already possible. Asciidoctor keeps a list of references internally, I just haven't mentioned that anywhere. It keeps a list of anchors, links, images, videos, footnotes, index items, etc. The idea eventually was to make these things that could be used in an appendix or sidebar. I also want to implemented a lightweight query mechanism so that information like this can be easily extracted (such as the list of listings or examples).

-Dan


On Thu, Aug 1, 2013 at 7:55 PM, LightGuardjp [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Would it be possible to enhance the Document object to return a list of links / modify links? I'm thinking about CMS capibilities here. 

Sent from Mailbox for iPhone


On Thu, Aug 1, 2013 at 7:33 PM, mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Matthew,

I'm glad you brought this issue forward again because it's so important. This is generally a problem which is not well solved anywhere (to my knowledge), so it's a great opportunity for Asciidoctor to get it right.

We'll continue the discussion in the issue.

-Dan


On Thu, Aug 1, 2013 at 7:00 AM, matthewadams12 [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Looks like this is an enhancement.  I was pointed to https://github.com/asciidoctor/asciidoctor/issues/417 on the #asciidoc.


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



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




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



--



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