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
You have to use br
-Tags to resolve new new lines:
mode of display <br> 'video' - display video <br> 'audio' - play only the audio.
/**
* @property {String} mode mode of display
* <br> `video` - display video, or
* <br> `audio` - plays only the audio
* @property...
*/
Actual output:
for this you can simply add two line spaces instead of one for example:
this
/**
* decription
* modes:
* I am foo
* I am bar
*/
results to :
decription modes: I am foo I am bar
But
this
/**
* decription
*
* modes:
*
* I am foo
*
* I am bar
*
*/
results to :
decription
modes:
I am foo
I am bar