A vs-code extension that copies the selected text as a GitHub Flavored Markdown text snippet.
Copy For Documentation
command.
For example, in a file named src/myproject/myfile.js
with the following content:
import { foo } from './foo';
class SomeClass {
constructor() {
this.foo = foo;
}
}
And a selection of the following text:
// ...
constructor() {
this.foo = foo;
}
// ...
Copy For Documentation
will copy the following text to the clipboard:
`src/myproject/myfile.js:4-6`:
```javascript
constructor() {
this.foo = foo;
}
```
I'm as curious as y'all.
Initial release, basic functionality. Works On My Machine!™