Open MiracleXYZ opened 2 years ago
@MiracleXYZ Thanks for your suggestion, I will work on it.
Any progress on this? Would be awesome, especially when using with this new vscode feature https://code.visualstudio.com/updates/v1_77#_copy-github-deep-links-from-editor-gutter
Thanks for the awesome plug-in, it works really well.
It would be nice to directly support GitHub permalinks, for example
Which is rendered in GitHub Issue web page as
https://github.com/almariah/embed-code-file/blob/458b689efb769fd0787ac897a25864e48f45ec54/main.ts#L8-L23
This link contains several key information:
githubusercontent
link. You could also embed a file in a certain branch or commit as well..ts
means a TypeScript code file, no need to specify.#L<start>-L<end>
represents the line numbers to be shown.