← Prev in month ← Prev in thread

How to indicate code snippets in Docbook?

From
Bob Foster <>
Date
2003-11-09T23:19:12+00:00
ID
Thread
How to indicate code snippets in Docbook?
Sorry for this newbie question. I'm trying to learn this stuff as I 
write. I'm a bit stumped on how to specify inline code snippets and 
set-apart (separate "paragraph") code examples.

In HTML, I would use <code>a[i]</code> and

<pre>
   public void foo() {
   }
</pre>

for these roles. What's the nearest Docbook equivalent?

Bob Foster
← Prev in month ← Prev in thread