atom-ternjs icon indicating copy to clipboard operation
atom-ternjs copied to clipboard

JSDoc comments preview ignores line breaks

Open NiloCK opened this issue 10 years ago • 2 comments

atom-ternjs successfully finds the jsdoc comments for the below function, but the presentation of those comments as a single line of text impairs readability.

ternjsdoc

NiloCK avatar Apr 28 '15 15:04 NiloCK

This is related to autocomplete-plus. At the current state, only strings and no HTML is allowed or possible for documentation. Maybe use this issue for further discussion: #62

tststs avatar May 03 '15 19:05 tststs

Updating the issue,

autocomplete-plus now allows markdown in description, descriptionHTML property has been finally deprecated in favor of descriptionMarkdown for safety reasons.

Not very sure how to approach this issue, using this new feature by merely replacing <br> by 2 spaces would convert to markdown other things not desired by the user, but I like the idea. 😋

bumxu avatar Mar 29 '17 21:03 bumxu