[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kdoc and code examples
From:       Sirtaj Singh Kang <ssk () physics ! unimelb ! EDU ! AU>
Date:       1999-11-29 12:20:17
[Download RAW message or body]

On Mon, Nov 29, 1999 at 11:22:04AM +0100, Matt Koss wrote:
> 
> How should I write the code examples inside kdoc comments ?
> I don't want them to be everything in one line, neither have a big spaces
> between the lines.
> 
> Something like <code> tag would be handy, if it's not here already.
> I guess that all code examples should look the same ( as in Qt docs ).

Just use <pre>...


<pre>
	blah blah..
	...
	blah
</pre>

-- 
-Taj.

Sirtaj S. Kang       taj@kde.org         ssk@physics.unimelb.edu.au
Univ of Melbourne	The "gui" in "Penguin" is pronounced "K-D-E"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic