Skip to content

JSDoc Not Rendering Tag Code Blocks properly #26415

@mjbvz

Description

@mjbvz

For the code:

/**
 * @example
 * ```
 * render () {
 *     return (
 *         <div className='NameField'>{this.l('NAME_FIELD')}</div>
 *     );
 * }
 * ```
 */
function getDocument() {
    return '';
}

Hover currently displays:

screen shot 2017-05-10 at 2 38 42 pm

In this case the code block in @example is not correctly shown

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugjavascriptJavaScript support issuestypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions