On Wednesday, November 7, 2012 6:49:05 PM UTC, Stuart Rackham wrote:
>
>
>
> On 08/11/12 05:34, Ashley Mills wrote: 
> > However, setting the args attribute like so: 
> > 
> > [source,cpp,args=lol] 
> > --------------------------------------------- 
> > int test; 
> > --------------------------------------------- 
>
> You need to quote if you use named attribute arguments i.e. 
> ["source","cpp",args="lol"] 
>
> See: http://www.methods.co.nz/asciidoc/userguide.html#X21 
>
> Cheers, Stuart 
>

Thanks, fantastic.

For future ref:

["source","cpp",args="-P \"cssclass=customclass\""]
---------------------------------------------
int test;
---------------------------------------------

works perfectly.

I probably should have RT(whole)FM, but up until now everything worked 
according to my intuition :)

Cheers

Ashley

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/i4tVwSZsLZ4J.
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.

Reply via email to