skip to Main Content

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

2

Answers


  1. Add two space characters at the end of the first line.

    It behaves like Markdown

    Login or Signup to reply.
  2. Just add a blank line between the first and second lines

      /**
       * First line
       *
       * Second line
       */
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search