Skip to main content

[jsr363-experts] Re: Javadoc formatting

  • From: Martin Desruisseaux < >
  • To:
  • Subject: [jsr363-experts] Re: Javadoc formatting
  • Date: Wed, 17 Dec 2014 21:01:35 +0900
  • Organization: Geomatys

Le 17/12/14 19:11, Werner Keil a écrit :
> I changed [code] to <code> that's an official part of JavaDoc, why
> should we use <pre>?
The difference between <code> and <pre> is that the later put the code
in a block with new lines preserved, while the former put everything on
a single line in flow with the current text. Both are legitimate but
used for different purpose. In the particular case of [code], since they
were used for code example spanning many lines, <pre> seems closer to
the intend.

    Martin



[jsr363-experts] Javadoc formatting

Martin Desruisseaux 12/17/2014

[jsr363-experts] Re: Javadoc formatting

Werner Keil 12/17/2014

[jsr363-experts] Re: Javadoc formatting

Martin Desruisseaux 12/17/2014

[jsr363-experts] Re: Javadoc formatting

Werner Keil 12/17/2014
 
 
Close
loading
Please Confirm
Close