Friday, May 17, 2024
111
rated 0 times [  115] [ 4]  / answers: 1 / hits: 17459  / 9 Years ago, thu, february 26, 2015, 12:00:00

I am documenting my code using jsdoc, so far so good, I have a comment like below



...
* @property {string} mode - mode of display 'video' - display video or 'audio' - play only the audio.
* @property...


and it comes in html document like



| ...   |         |                                 
| mode | string | mode of display 'video' - display video or 'audio' - play only the audio.|
| ... | |


I want it to appear something like



| ...   |         |                                 |
| mode | string | mode of display |
| | | 'video' - display video |
| | | 'audio' - play only the audio.|
| ... | | |


hope I am making myself clear...


More From » documentation

 Answers
41

You have to use br-Tags to resolve new new lines:


mode of display <br>&nbsp;&nbsp; 'video' - display video <br>&nbsp;&nbsp; 'audio' - play only the audio. 

[#67665] Tuesday, February 24, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nora

Total Points: 248
Total Questions: 111
Total Answers: 97

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;