Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to treat XREF id refs literally? #2

Open
sandersk opened this issue Jan 3, 2014 · 0 comments
Open

Possible to treat XREF id refs literally? #2

sandersk opened this issue Jan 3, 2014 · 0 comments

Comments

@sandersk
Copy link
Contributor

sandersk commented Jan 3, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant