Code-server: Extension Request (Markdown Extended)

Created on 1 May 2020  路  6Comments  路  Source: cdr/code-server

Could you add Markdown Extended to your marketplace?

Here's the github repo: https://github.com/qjebbs/vscode-markdown-extended

Most helpful comment

Took me a while, but got to build it!

Dependencies are quite messed up,

  • Root tsconfig.json is missing dom lib.
  • package-lock.json has wrong @types/puppeteer version locked. You should erase it's entry from the lock file before installing. I replaced it with version 1.20.4.
  • You need to manually edit @types/markdown-it's index.d.ts.
    Replace Rule definition (line 99 of node_modules/@types/markdown-it/index.d.ts with
    interface Rule {
        (state: any, startLine: number, endLine: number, silent: boolean): void;
    }

Let me know if you get any further issue with boundling the extension

All 6 comments

It seems I'm having a difficult time building the .vsix successfully from the source code. Are you able to provide a procedure that works? If not, we can open an issue in the extension repository requesting them to publish release artifacts.

The .vsix can be downloaded from visual studio's marketplace
https://marketplace.visualstudio.com/items?itemName=jebbs.markdown-extended

I'll give it a try on building it from github. If success, will replay with steps to reproduce.

Please let me know if the prebuilt version is enough for adding the extension

Unfortunately, redistribution of release artifacts from the Visual Studio marketplace is prohibited by Microsoft's terms of use.

Took me a while, but got to build it!

Dependencies are quite messed up,

  • Root tsconfig.json is missing dom lib.
  • package-lock.json has wrong @types/puppeteer version locked. You should erase it's entry from the lock file before installing. I replaced it with version 1.20.4.
  • You need to manually edit @types/markdown-it's index.d.ts.
    Replace Rule definition (line 99 of node_modules/@types/markdown-it/index.d.ts with
    interface Rule {
        (state: any, startLine: number, endLine: number, silent: boolean): void;
    }

Let me know if you get any further issue with boundling the extension

@IJuanI Nice work! The extension is now available in our marketplace.

Downloaded and installed the extension, seems to be fully working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RealSlimMahdi picture RealSlimMahdi  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments

pchecinski picture pchecinski  路  3Comments

broady picture broady  路  3Comments

grant picture grant  路  3Comments