Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
The "xrefstyle" feature is really great (new with Asciidoctor 1.5.6.1, see http://asciidoctor.org/docs/user-manual/#customizing-the-cross-reference-text )
We use "xrefstyle = short" and this correspond to what we need for almost all cases. In some cases, we would prefer to have the full or the basic xrefstyle. I was hoping that I could write: ---- See xref:sec-helloworld[xrefstyle="full"] to get more information ---- But this do not seems to work. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
For the first version, I decided not to allow this just so we could focus on getting the mechanics of the reference text itself working. This is something we can now consider adding in a future version. The first problem we're going to run into though, which I discovered when trying to use xref for another purpose, is that the xref macro does not support attributes. This is an inherited behavior from mimicking AsciiDoc Python. But I think that if linkattrs is set (which in 1.6.0 we want to make the default), then the xref macro should support attributes. Then, we can honor the xrefstyle setting. Please feel free to open an issue to track this. Cheers, -Dan On Wed, Aug 9, 2017 at 11:23 PM, Jeremie Bresson [via Asciidoctor :: Discussion] <[hidden email]> wrote: The "xrefstyle" feature is really great (new with Asciidoctor 1.5.6.1, see http://asciidoctor.org/docs/ ... [show rest of quote] Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
In reply to this post by Jeremie Bresson
But I like the idea ;) On Wed, Aug 9, 2017 at 11:26 PM, Dan Allen <[hidden email]> wrote:
... [show rest of quote] Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
163 posts
|
Thank you for your feedback: https://github.com/asciidoctor/asciidoctor/issues/2365
|
Free forum by Nabble | Edit this page |