Ah! Perfect, this works. In my case I also wanted callouts to be replaced:
[subs="specialcharacters,attributes,callouts"]

Thanks,
Thomas

On Tue, Apr 28, 2015 at 1:36 AM, Dan Allen wrote:

> Thomas,
>
> AsciiDoc does have this feature, just not the shorthand syntax. You have
> to list the substituions explicitly.
>
> [source,xml]
> [subs="specialcharacters,attributes"]
> ----
> <version>{version}</version>
> ----
>
> -Dan
>
> On Sun, Apr 26, 2015 at 6:31 AM, TN <[email protected]> wrote:
>
>> Hello,
>>
>> It seems that asciidoctor has a system for performing attribute
>> substitutions in blocks of code.:
>> http://asciidoctor.org/docs/user-manual/#applying-substitutions
>>
>> :source-highlighter: coderay
>> [source,xml,subs="+attributes"]
>> ----
>> <version>{version}</version>
>> ----
>>
>> Is there any possiblity that asciidoc could support such a thing?
>>
>> Thomas
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "asciidoc" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/asciidoc.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Dan Allen | http://google.com/profiles/dan.j.allen
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "asciidoc" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/asciidoc/jgo_VBbsq2A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to