Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JSDoc syntax highlightingNew to Visual Studio Code? Get it now.
JSDoc syntax highlighting

JSDoc syntax highlighting

Pasha Golovin

|
1,069 installs
| (2) | Free
Adds syntax highlighting to JSDoc comments (JS, TS, HTML, CSS, SCSS)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSDoc syntax highlighting

Adds syntax highlighting to JSDoc comments (JS, TS, HTML, CSS, SCSS). Supports @example and fenced code blocks.

This is a modified version of this abandoned extension: JSDoc Markdown highlighting by @mjbvz.

Comments like these should have code syntax highlighting:

/**
 * hello world!
 *
 * @example
 * helloWorld()
 *
 * @param other Tag
 * 1 + 1
 *
 * @example
 * ```ts
 * function helloWorld<A = any>(arg: A) {}
 * ```
 *
 * Some `inline code`
 * @param x **bold** description
 *
 *
 * ```html
 * <a href="hello.world">Hello World</a>
 * ```
 *
 * ```scss
 * .hello { --hello: "world"; }
 * ```
 */
function helloWorld() {}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft