Skip to content

Possible to treat XREF id refs literally? #2

Open
@sandersk

Description

@sandersk

Is it possible to configure our AsciiDoctor templates to not do any inline markup processing on id references in XREFs, and just treat them literally.

In other words, can we ensure the following:

In <<Strings__Text__and_Blobs>>

Is converted to:

<a data-type="xref" href="#Strings__Text__and_Blobs">

Instead of:

This is likely something to raise/discuss with Dan Allen and see if we can get fixed in the core AsciiDoctor logic. It may be tricky to address properly, as XREFs can optionally take a gentext parameter, e.g.:

See <<the_id, Chapter 10>> for more info

And we don't necessarily want to preclude the possibility of including inlines in the gentext, just the id ref.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions