Jamis Buck wrote:
> On 17:31 Mon 06 Dec     , Joel VanderWerf wrote:
> 
>>I'm trying to embed YAML output in a simple markup file (not a ruby code 
>>file) that gets fed into RDoc. I want the YAML text to show up as a 
>>literal. So I indent. For instance:
>>
>>  ---
>>  foo:
>>    :bar: 3
>>
>>The problem is that the :bar: causes RDoc to complain about an 
>>"Unrecognized directive".
>>
>>How can I quote this text so that RDoc doesn't look for directives? I've 
>>tried various combinations of <tt>, blackslashes, :enddoc:.
> 
> 
> I actually ran into this when I wrote that article about Copland and
> Needle for RubyForge--one of my examples had a similar line in it.
> I was able to work around it by putting a space before the second
> colon:
> 
>   ---
>   foo:
>     :bar : 3

Thanks, Jamis. I can live with that, since it's legal YAML.