On 7 August 2010 07:45, sylr <[email protected]> wrote: > Hi, > > I would like to know if its possible to make attribute substitution in > source blocks, e.g. > > [source,shell] > ----------------------------- > sylv...@kheops:~/$ git clone {mike_git_url} mike.git > -----------------------------
Attribute substitution depends on the block style, see http://www.methods.co.nz/asciidoc/userguide.html#_delimited_blocks not the fact that you use a source highlight filter. Listing blocks don't allow substitution because {} are important syntax in many languages. Cheers Lex > > sylv...@kheops:~/$ asciidoc -a mike_git_url="git://..../mike.git" > mike.txt > > Regards. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
