On 11/18/2010 05:19 PM, aditya siram wrote:
> Hi all,
> I am having a problem where the api generator isn't respecting my
> carriage returns. For instance a comment like this:
> /**
> * ============
> * Some Heading
> * ============
> * Some comment
> */
> 
> is rendered like this:
> ============Some Heading=============Some Comment
> 
> How can I force a newline?

You can't. The API doc generation isn't supposed to preserve your
newlines. A JSDoc comment is parsed into various elements, the first one
being the "description". Newlines are removed (just as are the leading "
 * " line prefixes).

But you can use semantic markup, either textile-style like *strong* and
__italics__, or HTML tags. Try something like this:

  <h3>Some Heading</h3>
  Some comment.
  <p>
  More comment.


T.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to