Skip to content

AsciiDoc inter-document references link to .html #519

@mahkoh

Description

@mahkoh

AsciiDoc supports intelligent inter-document references via the following syntax:

<<document-b.adoc#section-b,Section B>>

When compiled, they will translate to an appropriate link depending on the output format. See this section in the Asciidoctor manual: http://asciidoctor.org/docs/user-manual/#inter-document-cross-references

On github, they translate to an html link, e.g.,

<a href=".../document-b.html#section-b">Section B</a>

But since the markup is rendered on demand, no such .html file exists. Instead, the generated link should look like this:

<a href=".../document-b.adoc#section-b">Section B</a>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions