No Description

David Windham e2867204e2 update 1 week ago
.vscode 278be17360 Initial commit 2 years ago
dist 8744212e19 pack extension 2 years ago
src abd019bf05 remove summary from link 2 years ago
.eslintrc.json 278be17360 Initial commit 2 years ago
.gitattributes b3ae0a930d Initial commit 2 years ago
.gitignore 482a92f44c Add `.vsix` files to gitignore 2 years ago
.vscodeignore c7b365529a Remove redundant files and shorten file size 2 years ago
CHANGELOG.md 8744212e19 pack extension 2 years ago
LICENSE b3ae0a930d Initial commit 2 years ago
README.md e2867204e2 update 1 week ago
TODO.md 8d3adf0d0a Update TODO.md 2 years ago
package-lock.json 378bae4c8d audit/compile 2 years ago
package.json e2867204e2 update 1 week ago
screenshot.gif 0bc81bf94e [ImgBot] Optimize images 2 years ago
tsconfig.json 278be17360 Initial commit 2 years ago
vsc-extension-quickstart.md 278be17360 Initial commit 2 years ago
webpack.config.js 278be17360 Initial commit 2 years ago

README.md

vscode-wikipedia-hyperlink

Adds a hyperlink to a wikipedia article for the currently selected text in a markdown or html file


Notes

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