Search code examples
javascriptcomments

Line breaker in Javascript documentation comment


just a quick question. As shown in this codesandbox, I'm not able to add a new line in javascript documentation comment. Anyone know how to do that?

enter image description here


Solution

  • Just add a blank line between the first and second lines

      /**
       * First line
       *
       * Second line
       */