ruby-tut-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ruby-tut] Getting started


From: Laurent Sansonetti
Subject: Re: [ruby-tut] Getting started
Date: Thu, 20 Mar 2003 20:13:44 +0100

On Wed, 19 Mar 2003 20:33:51 -0500
Daniel Carrera <address@hidden> wrote:

> What Docbook tag should I use to represent in-line code?
> Like "Here we use the <inlinecode>String#reverse</inlinecode> method"
> 
> What Docbook tag should I use for non-in-line code?
> Like:
> 
> ------------------
> Here is a code example:
> 
> <code>
> #!/usr/bin/ruby
> 
> puts "Hello World"
> </code>
> ------------------
> 
> I guess that there are choices, but which ones are you using?  I'll use 
> the same ones.
> 

I'm currently using <literal> for things represented in a single line, and 
<programlisting> for multiple-lines code.

They seem apropriate, nevertheless if you find better, please notice me ;-)

-- 
Laurent




reply via email to

[Prev in Thread] Current Thread [Next in Thread]