|
|
11 months ago | |
|---|---|---|
| .vscode | 3 years ago | |
| dist | 3 years ago | |
| src | 3 years ago | |
| .eslintrc.json | 3 years ago | |
| .gitattributes | 3 years ago | |
| .gitignore | 3 years ago | |
| .vscodeignore | 3 years ago | |
| CHANGELOG.md | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 11 months ago | |
| TODO.md | 3 years ago | |
| package-lock.json | 11 months ago | |
| package.json | 11 months ago | |
| screenshot.gif | 3 years ago | |
| tsconfig.json | 3 years ago | |
| vsc-extension-quickstart.md | 3 years ago | |
| webpack.config.js | 3 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