David Windham b6c64c8686 update pcks | 1 week ago | |
---|---|---|
.vscode | 2 years ago | |
dist | 2 years ago | |
src | 2 years ago | |
.eslintrc.json | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
.vscodeignore | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 1 week ago | |
TODO.md | 2 years ago | |
package-lock.json | 1 week ago | |
package.json | 1 week ago | |
screenshot.gif | 2 years ago | |
tsconfig.json | 2 years ago | |
vsc-extension-quickstart.md | 2 years ago | |
webpack.config.js | 2 years ago |
Adds a hyperlink to a wikipedia article for the currently selected text in a markdown or html file
Fork of https://github.com/wasi-master/vscode-wikipedia-hyperlink/ because I didn't want the link summary.
I made a comment on the upstream original asking the author to consider it an option ( e.g. https://github.com/wasi-master/vscode-wikipedia-hyperlink/discussions/2 ).
I modified the extension ID to leave the original available to if the option comes available and installed a package to publish a .VSIX file so that I could sync it with codepaces.
// to build
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
// to publish
npm install -g vsce
vsce package
vsce publish