Using a reference within a quote

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using a reference within a quote

ysb33r
For a quote, I would like to have a linked reference to the entry in the bibliography section i.e.

  [quote,Who said it,<<RefToBib>>]

Obviously that does not work. Any suggestions?
Reply | Threaded
Open this post in threaded view
|

Re: Using a reference within a quote

mojavelinux
Administrator
If you enclose the value in single quotes, it will be substituted.

[source,asciidoc]
----
[quote,Who said it,'<<RefToBib>>']
Quote content
----

This doesn't work for any attribute value in AsciiDoc, but it does work in the attribute values for quote and verse blocks.

-Dan

On Mon, Sep 15, 2014 at 1:08 PM, ysb33r [via Asciidoctor :: Discussion] <[hidden email]> wrote:
For a quote, I would like to have a linked reference to the entry in the bibliography section i.e.

  [quote,Who said it,<<RefToBib>>]

Obviously that does not work. Any suggestions?


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Using-a-reference-within-a-quote-tp2213.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--