daKmoR / vscode-markdown-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode markdown javascript code block intellisense

Repo for vscode issue.

When working in markdown you do not get code intellisense while within a javascript code block.

With the following source file Calculator.js

export class Calculator {
  /**
   * @param {number} a
   * @param {number} b
   * @returns {number}
   */
  add(a, b) {
    return a + b;
  }
}

you do get code intellisense while within a *.js file.

js code intellisense

but you do NOT get it in *.md files while within a code block

md no code intellisense

Calculator

You can do additions.

import { Calculator } from './Calculator.js';

const calc = new Calculator();
calc.

About


Languages

Language:JavaScript 100.0%