Login  Register

Portable, rendering-agnostic link?

Posted by matthewadams12 on Jul 31, 2013; 9:25pm
URL: https://discuss.asciidoctor.org/Portable-rendering-agnostic-link-tp422.html

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