How to escape @ symbol in jsdoc for vscode

Viewed 580

When writing jsDoc, if it contains an @ symbol, it throws off VSCode.

How can the symbol be escaped?

I do not want to use the HTML escape code @ because it is not rendered as @ inside codeblocks.

enter image description here

1 Answers

The only thing I've found to work is backticks:

/**
 * @param {type} myVal My val with `@` in the description
 */

That stops the parser from adding line breaks but does make the @ render as fixed width.

Related